79. Class

79.1. Zend\Cache\Storage\Adapter\ZendServerShm

79.1.1. Methods

79.1.1.1. __construct

__construct()

Constructor

Parameters:null|array|Traversable|AdapterOptions
Throws ExceptionExtensionNotLoadedException:
 

79.1.1.2. flush

flush()

Flush the whole storage

Return type:bool

79.1.1.3. clearByNamespace

clearByNamespace()

Remove items of given namespace

Parameters:string
Return type:bool

79.1.1.4. getTotalSpace

getTotalSpace()

Get total space in bytes

Return type:int|float

79.1.1.5. zdcStore

zdcStore()

Store data into Zend Data SHM Cache

Parameters:
  • string
  • mixed
  • int
Return type:

void

Throws :

ExceptionRuntimeException

79.1.1.6. zdcFetch

zdcFetch()

Fetch a single item from Zend Data SHM Cache

Parameters:string
Return type:mixed The stored value or FALSE if item wasn’t found
Throws :ExceptionRuntimeException

79.1.1.7. zdcFetchMulti

zdcFetchMulti()

Fetch multiple items from Zend Data SHM Cache

Parameters:array
Return type:array All found items
Throws :ExceptionRuntimeException

79.1.1.8. zdcDelete

zdcDelete()

Delete data from Zend Data SHM Cache

Parameters:string
Return type:bool
Throws :ExceptionRuntimeException