The default value to set the maximum number of cache entries we can save. It must be integer, which means the maximum number of allowed entries is 2147483647. If value is 0, then cache is disabled.
Mobi_Mtld_DA_CacheProvider_VolatileCacheProvider $obj = new Mobi_Mtld_DA_CacheProvider_VolatileCacheProvider(
)
Construct a CacheProvider object.
bool $obj->clear()
Clear the whole cache.
bool $obj->delete(string key)
Remove an item from the cache.
mixed $obj->get(string key)
Get a stored value form cache.
int $obj->getMaxCacheEntries()
Get the max number of allowed cache entries.
int $obj->getNumCacheEntries()
Get number of entries
bool $obj->isEnabled()
Return whether cache is enabled (more than zero allowed cache entries).
bool $obj->set(string key)
Store a value in cache.
void $obj->setMaxCacheEntries(int $maxCacheEntries)
Set the max number of allowed entries in cache.