78. Class

78.1. Zend\Cache\Storage\Adapter\ZendServerDisk

78.1.1. Methods

78.1.1.1. __construct

__construct()

Constructor

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

78.1.1.2. flush

flush()

Flush the whole storage

Return type:bool

78.1.1.3. clearByNamespace

clearByNamespace()

Remove items of given namespace

Parameters:string
Return type:bool

78.1.1.4. getTotalSpace

getTotalSpace()

Get total space in bytes

Return type:int|float

78.1.1.5. getAvailableSpace

getAvailableSpace()

Get available space in bytes

Return type:int|float

78.1.1.6. zdcStore

zdcStore()

Store data into Zend Data Disk Cache

Parameters:
  • string
  • mixed
  • int
Return type:

void

Throws :

ExceptionRuntimeException

78.1.1.7. zdcFetch

zdcFetch()

Fetch a single item from Zend Data Disk Cache

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

78.1.1.8. zdcFetchMulti

zdcFetchMulti()

Fetch multiple items from Zend Data Disk Cache

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

78.1.1.9. zdcDelete

zdcDelete()

Delete data from Zend Data Disk Cache

Parameters:string
Return type:bool
Throws :ExceptionRuntimeException