docs/static/reference/php/Dagger/EngineCache.html
class EngineCache extends AbstractObject implements IdAble
A cache storage for the Dagger engine
| | $lastQuery | | from AbstractObject |
__construct(AbstractClient $client, QueryBuilderChain $queryBuilderChain)
No description
from AbstractObject
null|array|string|int|float|bool
queryLeaf(QueryBuilder $leafQueryBuilder, string $leafKey)
No description
from AbstractObject
entrySet(string|null $key = '')
The current set of entries in the cache
id()
A unique identifier for this EngineCache.
int
The maximum bytes to keep in the cache without pruning.
int
The target amount of free disk space the garbage collector will attempt to leave.
void
prune(bool|null $useDefaultPolicy = false, string|null $maxUsedSpace = '', string|null $reservedSpace = '', string|null $minFreeSpace = '', string|null $targetSpace = '')
Prune the cache of releaseable entries
int
The minimum amount of disk space this policy is guaranteed to retain.
int
The target number of bytes to keep when pruning.
__construct(AbstractClient $client, QueryBuilderChain $queryBuilderChain) No description
| AbstractClient | $client | | | QueryBuilderChain | $queryBuilderChain | |
protected null|array|string|int|float|bool queryLeaf(QueryBuilder $leafQueryBuilder, string $leafKey)No description
| QueryBuilder | $leafQueryBuilder | | | string | $leafKey | |
| null|array|string|int|float|bool | |
EngineCacheEntrySet entrySet(string|null $key = '')The current set of entries in the cache
| string|null | $key | |
| EngineCacheEntrySet | |
AbstractId id()A unique identifier for this EngineCache.
| AbstractId | |
int maxUsedSpace()The maximum bytes to keep in the cache without pruning.
| int | |
int minFreeSpace()The target amount of free disk space the garbage collector will attempt to leave.
| int | |
void prune(bool|null $useDefaultPolicy = false, string|null $maxUsedSpace = '', string|null $reservedSpace = '', string|null $minFreeSpace = '', string|null $targetSpace = '')Prune the cache of releaseable entries
| bool|null | $useDefaultPolicy | | | string|null | $maxUsedSpace | | | string|null | $reservedSpace | | | string|null | $minFreeSpace | | | string|null | $targetSpace | |
| void | |
int reservedSpace()The minimum amount of disk space this policy is guaranteed to retain.
| int | |
int targetSpace()The target number of bytes to keep when pruning.
| int | |
Generated by Doctum, a API Documentation generator and fork of Sami.