org.datanucleus.cache.cacheonix
Class CacheonixLevel2Cache
java.lang.Object
org.datanucleus.cache.AbstractLevel2Cache
org.datanucleus.cache.cacheonix.CacheonixLevel2Cache
- All Implemented Interfaces:
- Serializable, org.datanucleus.cache.Level2Cache
public class CacheonixLevel2Cache
- extends org.datanucleus.cache.AbstractLevel2Cache
Plugin for Cacheonix that allows the user to use different caches for different classes.
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from interface org.datanucleus.cache.Level2Cache |
org.datanucleus.cache.Level2Cache.PinnedClass |
| Fields inherited from class org.datanucleus.cache.AbstractLevel2Cache |
cacheName, clearAtClose, LOCALISER, maxSize, nucleusCtx |
| Methods inherited from class org.datanucleus.cache.AbstractLevel2Cache |
getAll, getNumberOfPinnedObjects, getNumberOfUnpinnedObjects, isEmpty, pin, pinAll, pinAll, pinAll, putAll, unpin, unpinAll, unpinAll, unpinAll |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CacheonixLevel2Cache
public CacheonixLevel2Cache(org.datanucleus.NucleusContext nucleusCtx)
- Parameters:
nucleusCtx -
close
public void close()
evict
public void evict(Object oid)
evictAll
public void evictAll()
evictAll
public void evictAll(Object[] oids)
evictAll
public void evictAll(Collection oids)
evictAll
public void evictAll(Class pcClass,
boolean subclasses)
getSize
public int getSize()
get
public org.datanucleus.cache.CachedPC get(Object oid)
put
public org.datanucleus.cache.CachedPC put(Object oid,
org.datanucleus.cache.CachedPC pc)
containsOid
public boolean containsOid(Object oid)
Copyright © 2011. All Rights Reserved.