Methods for a treatment of cached objects are described. In one
embodiment, management of a region of a cache is configured with an
eviction policy plug-in and a storage plug-in. The eviction policy
plug-in includes code to evict an object that is cached in the region of
cache. The storage plug-in includes code to execute a function involving
a key attribute manipulation function that, using a first hashing
function and a key, identifies a table of attributes for the first object
located within the region of cache, and using a second hashing function
and an attribute name, gets a specific attribute for the first object
from the table, the key being registered with the storage plug-in.