Reference documentation and code samples for the Google Auth Library Client class SysVCacheItemPool.
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.
Namespace
Google \ Auth \ Cache
Methods
__construct
Create a SystemV shared memory based CacheItemPool.
Parameters
Name
Description
options
array
Configuration options.
↳ variableKey
int
The variable key for getting the data from the shared memory.Defaults to1.
↳ proj
string
The project identifier for ftok. This needs to be a one character string.Defaults to'A'.
↳ memsize
int
The memory size in bytes for shm_attach.Defaults to10000.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Auth Library Client - Class SysVCacheItemPool (1.47.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.47.1 (latest)](/php/docs/reference/auth/latest/Cache.SysVCacheItemPool)\n- [1.47.0](/php/docs/reference/auth/1.47.0/Cache.SysVCacheItemPool)\n- [1.46.0](/php/docs/reference/auth/1.46.0/Cache.SysVCacheItemPool)\n- [1.45.2](/php/docs/reference/auth/1.45.2/Cache.SysVCacheItemPool) \nReference documentation and code samples for the Google Auth Library Client class SysVCacheItemPool.\n\nSystemV shared memory based CacheItemPool implementation.\n\nThis CacheItemPool implementation can be used among multiple processes, but\nit doesn't provide any locking mechanism. If multiple processes write to\nthis ItemPool, you have to avoid race condition manually in your code.\n\nNamespace\n---------\n\nGoogle \\\\ Auth \\\\ Cache\n\nMethods\n-------\n\n### __construct\n\nCreate a SystemV shared memory based CacheItemPool.\n\n### getItem\n\n### getItems\n\n### hasItem\n\n{@inheritdoc}\n\n### clear\n\n{@inheritdoc}\n\n### deleteItem\n\n{@inheritdoc}\n\n### deleteItems\n\n{@inheritdoc}\n\n### save\n\n{@inheritdoc}\n\n### saveDeferred\n\n{@inheritdoc}\n\n### commit\n\n{@inheritdoc}\n\nConstants\n---------\n\n### VAR_KEY\n\n Value: 1\n\n### DEFAULT_PROJ\n\n Value: 'A'\n\n### DEFAULT_MEMSIZE\n\n Value: 10000\n\n### DEFAULT_PERM\n\n Value: 0600"]]