This class is used to represent cache entries. Cache entries have a value and an optional expiration time. The expiration time is used to support the :race_condition_ttl option on the cache.

Since cache entries in most instances will be serialized, the internals of this class are highly optimized using short instance variable names that are lazily defined.

Constants

DEFAULT_COMPRESS_LIMIT = 16.kilobytes

Attributes

Show files where this class is defined (1 file)
Register or log in to add new notes.