| CacheEntry | R Documentation |
A cached entry with metadata
valueCached value
created_atCreation timestamp
ttlTime to live in seconds
hitsNumber of hits
new()Create a new CacheEntry
CacheEntry$new(value, ttl)
valueThe value to cache
ttlTime to live in seconds
is_expired()Check if entry is expired
CacheEntry$is_expired()
Logical
clone()The objects of this class are cloneable with this method.
CacheEntry$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.