kernel/private/rest/classes/cache/apc.php

Show: inherited
Table of Contents

File containing ezpRestCacheStorageApcCluster class

Copyright
Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.  
License
eZ Business Use License Agreement Version 2.0  
Package
kernel  
Version
4.6.0  

\ezpRestCacheStorageApcCluster

Package: kernel

File containing ezpRestCacheStorageApcCluster class

Parent(s)
\ezcCacheStorageApcPlain
Copyright
Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.  
License
eZ Business Use License Agreement Version 2.0  
Version
4.6.0  

Properties

Propertyprotected\eZExpiryHandler  $expiryHandler= ''

Details
Type
\eZExpiryHandler
Propertypublicbool  $forceStoreRegistry= 'false'

Flag indicating if we need to force internal registry storage.

Default is false

Default valuefalseDetails
Type
bool

Methods

methodpublic__construct(  $location = null,  $options = array() ) : void

Parameters
Name Type Description
$location
$options
methodpublicdelete(  $id = null,  $attributes = array(),  $search = false ) : void

Direct delete instruction. Registry will be stored

Parameters
Name Type Description
$id
$attributes
$search
Details
See
\lib/ezc/Cache/src/storage/ezcCacheStorageMemory::delete()  
methodprotectedgetExpiryTime(  $id ) : void

Returns cluster expiry timestamp for given $id

Parameters
Name Type Description
$id
methodpublicrestore(  $id,  $attributes = array(),  $search = false ) : void

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

Parameters
Name Type Description
$id
$attributes
$search
Details
See
\lib/ezc/Cache/src/storage/ezcCacheStorageMemory::restore()  
methodpublicstore(  $id,  $data,  $attributes = array() ) : void

Direct store instruction.

Makes the registry to be stored

Parameters
Name Type Description
$id
$data
$attributes
Details
See
\lib/ezc/Cache/src/storage/ezcCacheStorageMemory::store()  
methodprotectedstoreSearchRegistry( ) : void

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

To force registry storage, {@see self::forceStoreRegistry} must be set to true

Details
See
\lib/ezc/Cache/src/storage/ezcCacheStorageMemory::storeSearchRegistry()  
Documentation was generated by DocBlox 0.18.1.