Disabled cache (no caching)
Methods
Inherited methods
Get value from cache (always returns NULL)
Method set()
Set cache value (no-op)
Usage
NoCache$set(key, value, ttl = NULL)
Arguments
key
Cache key
value
Value to cache
ttl
Time-to-live in seconds (ignored)
Returns
Invisibly returns NULL
Method delete()
Delete key from cache (always FALSE)
Check if key exists (always FALSE)
Method clear()
Clear cache (no-op)
Returns
Invisibly returns NULL
Method size()
Get cache size (always 0)
Method clone()
The objects of this class are cloneable with this method.
Usage
NoCache$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.