ICacheFactory¶
-
interface
OCP\
ICacheFactory
¶ - Interface ICacheFactory
Implemented by: OC\Memcache\Factory
Source: lib/public/ICacheFactory.php#36
Methods¶
-
public
OCP\ICacheFactory::
isAvailable
()¶ - Check if any memory cache backend is available
Source: lib/public/ICacheFactory.php#43 Returns: bool Since: 7.0.0
-
public
OCP\ICacheFactory::
isLocalCacheAvailable
()¶ - Check if a local memory cache backend is available
Source: lib/public/ICacheFactory.php#51 Returns: bool Since: 14.0.0
-
public
OCP\ICacheFactory::
createLocking
($prefix="")¶ - create a cache instance for storing locks
Source: Parameters: - $prefix (string)
Returns: Since: 13.0.0
-
public
OCP\ICacheFactory::
createDistributed
($prefix="")¶ - create a distributed cache instance
Source: Parameters: - $prefix (string)
Returns: Since: 13.0.0
-
public
OCP\ICacheFactory::
createLocal
($prefix="")¶ - create a local cache instance
Source: Parameters: - $prefix (string)
Returns: Since: 13.0.0