Class Mage_Core_Model_Cache
System cache model support id and tags preffix support,
Package: Mage\Core
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Located at code/core/Mage/Core/Model/Cache.php
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Located at code/core/Mage/Core/Model/Cache.php
public
|
#
__construct( array $options = array() )
Class constructor. Initialize cache instance based on options |
protected
array
|
#
_getBackendOptions( array $cacheOptions )
Get cache backend options. Result array contain backend type ('type' key) and backend options ('options') |
protected
array
|
|
protected
array
|
#
_getTwoLevelsBackendOptions( array $fastOptions, array $cacheOptions )
Initialize two levels backend model options |
protected
array
|
#
_getFrontendOptions( array $cacheOptions )
Get options of cache frontend (options of Zend_Cache_Core) |
protected
string
|
|
protected
array
|
|
public
Zend_Cache_Core
|
|
public
string
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
Zend_Db_Adapter_Abstract
|
|
protected
|
|
protected
|
|
public
|
|
public
boolean
|
|
public
|
|
public
array
|
|
public
array
|
|
protected
array
|
|
protected
|
|
public
array
|
|
public
|
|
public
|
|
public
boolean
|
|
protected
|
integer |
DEFAULT_LIFETIME
|
7200 |
|
string |
OPTIONS_CACHE_ID
|
'core_cache_options' |
|
string |
INVALIDATED_TYPES
|
'core_cache_invalidate' |
|
string |
XML_PATH_TYPES
|
'global/cache/types' |
protected
string
|
$_idPrefix | '' |
|
protected
Zend_Cache_Core
|
$_frontend | null |
#
Cache frontend API |
protected
array
|
$_shmBackends | array(
'apc', 'memcached', 'xcache',
'zendserver_shmem', 'zendserver_disk', 'varien_eaccelerator',
) |
#
Shared memory backend models list (required TwoLevels backend model) |
protected
string
|
$_defaultBackend | 'File' |
#
Fefault cache backend type |
protected
array
|
$_defaultBackendOptions | array(
'hashed_directory_level' => 1,
'hashed_directory_umask' => 0777,
'file_name_prefix' => 'mage',
) |
#
Default iotions for default backend |
protected
array
|
$_requestProcessors | array() |
#
List of available request processors |
protected
boolean
|
$_disallowSave | false |
#
Disallow cache saving |
protected
array
|
$_allowedCacheOptions | null |
#
List of allowed cache options |