|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jpox.cache.DefaultLevel2Cache
org.jpox.cache.SoftLevel2Cache
Soft implementation of a Level 2 cache for JPOX. The second (unpinned) map stores soft references meaning that they may be garbage collected only if necessary by the JVM.
Nested Class Summary |
Nested classes inherited from class org.jpox.cache.Level2Cache |
Level2Cache.PinnedClass |
Nested classes inherited from class javax.jdo.datastore.DataStoreCache |
javax.jdo.datastore.DataStoreCache.EmptyDataStoreCache |
Field Summary |
Fields inherited from class org.jpox.cache.DefaultLevel2Cache |
pinnedCache, pinnedClasses, pinnedIds, unpinnedCache |
Constructor Summary | |
SoftLevel2Cache(java.util.Properties props)
Constructor. |
Methods inherited from class org.jpox.cache.DefaultLevel2Cache |
clear, containsOid, evict, evictAll, evictAll, evictAll, evictAll, get, getNumberOfPinnedObjects, getNumberOfUnpinnedObjects, getSize, isEmpty, pin, pinAll, pinAll, pinAll, put, unpin, unpinAll, unpinAll, unpinAll |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SoftLevel2Cache(java.util.Properties props)
props
- Any properties to control the cache
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |