Class CacheEntry
In: lib/storage/cache.rb
Parent: Object
CacheStats
CacheManager
CacheEntry
TopLevel

This is a node in the cache and is a wrapper for the object and keeps flags on the status of the entry.

Methods

clean!   dead?   dirty!   dirty?   mark_dead   new   noswap!   noswap?   swap!  

Attributes

obj  [RW] 
oid  [RW] 

Public Class methods

perhaps add LRU counters as CacheEntry is pretty dumb

Public Instance methods

A dead cache entry is an object that has been deleted

dirty cache entries are those that probably differ from the database

Noswappable cache entries are objects that have non persistent attributes. *heavy sigh* We can never remove these from the cache until specifically marked See makenoswap and makeswap

[Validate]