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.
getItem($key)
No description
getItems(array $keys = [])
{@inheritdoc}
hasItem($key)
{@inheritdoc}
clear()
{@inheritdoc}
deleteItem($key)
{@inheritdoc}
deleteItems(array $keys)
{@inheritdoc}
save(CacheItemInterface $item)
{@inheritdoc}
saveDeferred(CacheItemInterface $item)
{@inheritdoc}
commit()
{@inheritdoc}
Details
__construct(array $options = [])
Create a SystemV shared memory based CacheItemPool.
getItem($key)
No description
getItems(array $keys = [])
{@inheritdoc}
hasItem($key)
{@inheritdoc}
clear()
{@inheritdoc}
deleteItem($key)
{@inheritdoc}
deleteItems(array $keys)
{@inheritdoc}
save(CacheItemInterface $item)
{@inheritdoc}
saveDeferred(CacheItemInterface $item)
{@inheritdoc}
commit()
{@inheritdoc}