SysVCacheItemPool
class SysVCacheItemPool implements CacheItemPoolInterface (View source)
SystemV shared memory based CacheItemPool implementation.
This CacheItemPool implementation can be used among multiple processes, but it doesn't provide any locking mechanism. If multiple processes write to this ItemPool, you have to avoid race condition manually in your code.
Constants
VAR_KEY |
|
DEFAULT_PROJ |
|
DEFAULT_MEMSIZE |
|
DEFAULT_PERM |
|
Methods
__construct(array $options = [])
Create a SystemV shared memory based CacheItemPool.
CacheItemInterface
getItem(mixed $key)
No description
iterable
getItems(array $keys = [])
No description
bool
hasItem($key)
{@inheritdoc}
bool
clear()
{@inheritdoc}
bool
deleteItem($key)
{@inheritdoc}
bool
deleteItems(array $keys)
{@inheritdoc}
bool
save(CacheItemInterface $item)
{@inheritdoc}
bool
saveDeferred(CacheItemInterface $item)
{@inheritdoc}
bool
commit()
{@inheritdoc}
Details
__construct(array $options = [])
Create a SystemV shared memory based CacheItemPool.
CacheItemInterface
getItem(mixed $key)
No description
iterable
getItems(array $keys = [])
No description
bool
hasItem($key)
{@inheritdoc}
bool
clear()
{@inheritdoc}
bool
deleteItem($key)
{@inheritdoc}
bool
deleteItems(array $keys)
{@inheritdoc}
bool
save(CacheItemInterface $item)
{@inheritdoc}
bool
saveDeferred(CacheItemInterface $item)
{@inheritdoc}
bool
commit()
{@inheritdoc}