Class Core_Cache_Memory
Memory cache driver
- Core_Cache
-
Core_Cache_Memory
Package: HostCMS\Core\Cache
Copyright: © 2005-2021 ООО "Хостмэйк" (Hostmake LLC), http://www.hostcms.ru
Author: Hostmake LLC
Version: 6.x
Located at core/cache/memory.php
Copyright: © 2005-2021 ООО "Хостмэйк" (Hostmake LLC), http://www.hostcms.ru
Author: Hostmake LLC
Version: 6.x
Located at core/cache/memory.php
Methods summary
public
boolean
|
|
public
null|true|false
|
|
public
mixed
|
#
get( string $key, string $cacheName = 'default', string $defaultValue = NULL )
Get data from cache |
public
|
#
set( string $key, mixed $value, string $cacheName = 'default', array $tags = array() )
Set data in cache |
public
|
|
public
|
|
public
integer
|
Methods inherited from Core_Cache
__construct(),
_deleteByTag(),
_issetCacheConfig(),
_pack(),
_saveTags(),
_unPack(),
clearTags(),
deleteByTag(),
deleteTags(),
getCachesList(),
getKey(),
instance()
Properties summary
protected static
integer
|
$_maxObjects
Maximum number of objects Максимальное количество объектов в каждом кэше |
#
128
|
protected
array
|
$_data
Cache storage |
#
array()
|
Properties inherited from Core_Cache
$_cleaningFrequency,
$_config,
$_format,
$aCaches,
$instance