class EngineCache extends AbstractObject implements IdAble

A cache storage for the Dagger engine

Properties

$lastQuery from  AbstractObject

Methods

__construct(AbstractClient $client, QueryBuilderChain $queryBuilderChain)

No description

null|array|string|int|float|bool
queryLeaf(QueryBuilder $leafQueryBuilder, string $leafKey)

No description

entrySet(string|null $key = '')

The current set of entries in the cache

id()

A unique identifier for this EngineCache.

int
keepBytes()

The maximum bytes to keep in the cache without pruning, after which automatic pruning may kick in.

int
maxUsedSpace()

The maximum bytes to keep in the cache without pruning.

int
minFreeSpace()

The target amount of free disk space the garbage collector will attempt to leave.

void
prune()

Prune the cache of releaseable entries

int
reservedSpace()

No description

Details

in AbstractObject at line 13
__construct(AbstractClient $client, QueryBuilderChain $queryBuilderChain)

No description

Parameters

AbstractClient $client
QueryBuilderChain $queryBuilderChain

in AbstractObject at line 19
protected null|array|string|int|float|bool queryLeaf(QueryBuilder $leafQueryBuilder, string $leafKey)

No description

Parameters

QueryBuilder $leafQueryBuilder
string $leafKey

Return Value

null|array|string|int|float|bool

at line 19
EngineCacheEntrySet entrySet(string|null $key = '')

The current set of entries in the cache

Parameters

string|null $key

Return Value

EngineCacheEntrySet

at line 31
AbstractId id()

A unique identifier for this EngineCache.

Return Value

AbstractId

at line 40
int keepBytes()

The maximum bytes to keep in the cache without pruning, after which automatic pruning may kick in.

Return Value

int

at line 49
int maxUsedSpace()

The maximum bytes to keep in the cache without pruning.

Return Value

int

at line 58
int minFreeSpace()

The target amount of free disk space the garbage collector will attempt to leave.

Return Value

int

at line 67
void prune()

Prune the cache of releaseable entries

Return Value

void

at line 73
int reservedSpace()

No description

Return Value

int