class SQLiteL1 extends L1 (View source)

Methods

getEntry(Address $address)

No description

getHits()

No description

from L1
getMisses()

No description

from L1
string|null
get(Address $address)

Fetch a value from the cache.

from LX
boolean
exists(Address $address)

Determine whether or not the specified Address exists in the cache.

collectGarbage($item_limit = null)

No description

__construct(string $pool, StateL1Interface $state)

Constructor for all the L1 implementations.

getLastAppliedEventID()

No description

from L1
setLastAppliedEventID($event_id)

No description

from L1
getPool()

No description

from L1
set($event_id, Address $address, $value = null, $expiration = null)

No description

from L1
isNegativeCache(Address $address)

No description

getKeyOverhead(Address $address)

No description

setWithExpiration($event_id, Address $address, $value, $created, $expiration = null)

No description

delete($event_id, Address $address)

No description

__destruct()

No description

debugDumpState()

No description

Details

at line line 179
getEntry(Address $address)

Parameters

Address $address

in L1 at line line 52
getHits()

in L1 at line line 57
getMisses()

in LX at line line 19
string|null get(Address $address)

Fetch a value from the cache.

Parameters

Address $address

Return Value

string|null

at line line 145
boolean exists(Address $address)

Determine whether or not the specified Address exists in the cache.

Parameters

Address $address

Return Value

boolean

at line line 85
collectGarbage($item_limit = null)

Parameters

$item_limit

at line line 58
__construct(string $pool, StateL1Interface $state)

Constructor for all the L1 implementations.

Parameters

string $pool Pool ID to group the cache data in.
StateL1Interface $state State manager class. Used to collect hit/miss statistics as well as the ID of the last cache mutation event.

in L1 at line line 27
getLastAppliedEventID()

in L1 at line line 32
setLastAppliedEventID($event_id)

Parameters

$event_id

in L1 at line line 37
getPool()

in L1 at line line 42
set($event_id, Address $address, $value = null, $expiration = null)

Parameters

$event_id
Address $address
$value
$expiration

at line line 155
isNegativeCache(Address $address)

Parameters

Address $address

at line line 91
getKeyOverhead(Address $address)

Parameters

Address $address

at line line 105
setWithExpiration($event_id, Address $address, $value, $created, $expiration = null)

Parameters

$event_id
Address $address
$value
$created
$expiration

at line line 218
delete($event_id, Address $address)

Parameters

$event_id
Address $address

at line line 80
__destruct()

at line line 168
debugDumpState()