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
an object manipulation function that gets a first object located within
the region of cache, and an attribute manipulation function that gets a
specific attribute for the first object from within the region of cache.