Class JCacheStorage
Abstract cache storage handler
Direct known subclasses
JCacheStorageApc
,
JCacheStorageApcu
,
JCacheStorageCachelite
,
JCacheStorageFile
,
JCacheStorageMemcache
,
JCacheStorageMemcached
,
JCacheStorageRedis
,
JCacheStorageWincache
,
JCacheStorageXcache
Package: Joomla\Platform\Cache
Copyright: Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
License: General Public License version 2 or later; see LICENSE
Since: 11.1
Note: As of 4.0 this class will be abstract
Located at joomla/cache/storage.php
Copyright: Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
License: General Public License version 2 or later; see LICENSE
Since: 11.1
Note: As of 4.0 this class will be abstract
Located at joomla/cache/storage.php
Methods summary
public
|
|
public static
|
#
getInstance( string $handler = null, array $options = array() )
Returns a cache storage handler object. |
public
boolean
|
|
public
mixed
|
|
public
mixed
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public static
boolean
|
|
public static
boolean
|
|
public
mixed
|
|
public
boolean
|
|
protected
string
|
|
public static
array
|
#
addIncludePath( array|string $path = '' )
Add a directory where JCacheStorage should search for handlers. You may either pass a string or an array of directories. |
Magic methods summary
Properties summary
protected
string
|
$rawname |
#
The raw object name |
public
integer
|
$_now |
#
Time that the cache storage handler was instantiated |
public
integer
|
$_lifetime |
#
Cache lifetime |
public
boolean
|
$_locking |
#
Flag if locking is enabled |
public
string
|
$_language |
#
Language code |
public
string
|
$_application |
#
Application name |
public
string
|
$_hash |
#
Object hash |