eZPublish  4.7
ezpRestCacheStorageApcCluster Class Reference
+ Inheritance diagram for ezpRestCacheStorageApcCluster:
+ Collaboration diagram for ezpRestCacheStorageApcCluster:

Public Member Functions

 __construct ($location=null, array $options=array())
 
 delete ($id=null, $attributes=array(), $search=false)
 Direct delete instruction. More...
 
 restore ($id, $attributes=array(), $search=false)
 Override from ezcCacheStorageMemory::restore() to add a cluster cache control, driven by eZExpiryHandler (expiry.php) More...
 
 store ($id, $data, $attributes=array())
 Direct store instruction. More...
 

Public Attributes

 $forceStoreRegistry = false
 

Protected Member Functions

 getExpiryTime ($id)
 Returns cluster expiry timestamp for given $id. More...
 
 storeSearchRegistry ()
 Override to avoid unnecessary registry storage and so potential cache slam (from APC 3.1.3p1). More...
 

Protected Attributes

 $expiryHandler
 

Constructor & Destructor Documentation

ezpRestCacheStorageApcCluster::__construct (   $location = null,
array  $options = array() 
)

Member Function Documentation

ezpRestCacheStorageApcCluster::delete (   $id = null,
  $attributes = array(),
  $search = false 
)

Direct delete instruction.

Registry will be stored

See Also
lib/ezc/Cache/src/storage/ezcCacheStorageMemory::delete()
ezpRestCacheStorageApcCluster::getExpiryTime (   $id)
protected

Returns cluster expiry timestamp for given $id.

Parameters
$id

Referenced by restore().

ezpRestCacheStorageApcCluster::restore (   $id,
  $attributes = array(),
  $search = false 
)

Override from ezcCacheStorageMemory::restore() to add a cluster cache control, driven by eZExpiryHandler (expiry.php)

See Also
lib/ezc/Cache/src/storage/ezcCacheStorageMemory::restore()
ezpRestCacheStorageApcCluster::store (   $id,
  $data,
  $attributes = array() 
)

Direct store instruction.

Makes the registry to be stored

See Also
lib/ezc/Cache/src/storage/ezcCacheStorageMemory::store()
ezpRestCacheStorageApcCluster::storeSearchRegistry ( )
protected

Override to avoid unnecessary registry storage and so potential cache slam (from APC 3.1.3p1).

To force registry storage, {

See Also
self::forceStoreRegistry} must be set to true
lib/ezc/Cache/src/storage/ezcCacheStorageMemory::storeSearchRegistry()

Member Data Documentation

ezpRestCacheStorageApcCluster::$expiryHandler
protected
ezpRestCacheStorageApcCluster::$forceStoreRegistry = false

The documentation for this class was generated from the following file: