CacheGetMetadata
Get the item metadata for a specific entry or entries.
By default, the {@code cacheName} is set to {@code default}.
The default metadata for a BoxCache is:
cacheName : The cachename the entry belongs to
hits : How many hits the entry has
timeout : The timeout in seconds
lastAccessTimeout : The last access timeout in seconds
created : When the entry was created
lastAccessed : When the entry was last accessed
key : The key used to cache it
metadata : Any extra metadata stored with the entry
isEternal : If the object has a timeout of 0
Method Signature
Arguments
Argument
Type
Required
Description
Default
id
any
true
cacheName
string
false
The cache name to retrieve the id from, defaults to {@code default}
default
Examples
Related
Last updated
Was this helpful?