|
CacheGetMetadata
DescriptionGets
the metadata values for a cached object.
Returns.A structure
containing the cached object metadata. The structure has the following
fields:
Structure element
|
Description
|
cache_hitcount
|
The number of cache entries have been used.
|
cache_misscount
|
Number of times the object was requested,
but was not in the cache or was not up to date (was stale).
|
createdtime
|
The time when the element or object was
cached.
|
hitcount
|
Number of times the cached object has been
used.
|
idletime
|
The remaining time, in seconds, after which
the cached object is purged if it is idle.
|
lasthit
|
The time the cached object was last used,
as a date-time object, or the empty string.
|
lastupdated
|
The time the cached object was last modified,
as a date-time object, or the empty string.
|
size
|
The number of bytes the object takes up
when serialized.
|
timespan
|
The remaining time, in seconds, during which
the cached object is valid.
|
Function syntaxCacheGetMetadata(id)
HistoryColdFusion
9: Added the function.
Parameters
Parameter
|
Description
|
id
|
The ID of the cached object.
|
|