Method Summary |
|
void | clear() Method to clear the cache. |
boolean | containsOid(Object oid) |
void | evict(Object oid) Evict the parameter instance from the second-level cache. |
void | evictAll() Evict the parameter instances from the second-level cache. |
void | evictAll(Object[] oids) Evict the parameter instances from the second-level cache. |
void | evictAll(Collection oids) Evict the parameter instances from the second-level cache. |
void | evictAll(Class pcClass, boolean subclasses) Evict the parameter instances from the second-level cache. |
CachedPC | get(Object oid) Accessor for an object from the cache. |
int | getNumberOfPinnedObjects() Accessor for the number of pinned objects in the cache. |
int | getNumberOfUnpinnedObjects() Accessor for the number of unpinned objects in the cache. |
int | getSize() Accessor for the total number of objects in the L2 cache. |
boolean | isEmpty() Accessor for whether the cache is empty. |
void | pin(Object oid) Pin the parameter instance in the second-level cache. |
void | pinAll(Collection oids) Pin the parameter instances in the second-level cache. |
void | pinAll(Object[] oids) Pin the parameter instances in the second-level cache. |
void | pinAll(Class pcClass, boolean subclasses) Pin instances in the second-level cache. |
CachedPC | put(Object oid, CachedPC pc) Method to put an object in the cache. |
void | unpin(Object oid) Unpin the parameter instance from the second-level cache. |
void | unpinAll(Collection oids) Unpin the parameter instances from the second-level cache. |
void | unpinAll(Object[] oids) Unpin the parameter instance from the second-level cache. |
void | unpinAll(Class pcClass, boolean subclasses) Unpin instances from the second-level cache. |