org.datanucleus.cache.memcache
Class MemcacheLevel2Cache
java.lang.Object
org.datanucleus.cache.memcache.MemcacheLevel2Cache
- All Implemented Interfaces:
- java.io.Serializable, org.datanucleus.cache.Level2Cache
public class MemcacheLevel2Cache
- extends java.lang.Object
- implements org.datanucleus.cache.Level2Cache
Plugin using Memcache as a Level2 cache.
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from interface org.datanucleus.cache.Level2Cache |
org.datanucleus.cache.Level2Cache.PinnedClass |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MemcacheLevel2Cache
public MemcacheLevel2Cache(org.datanucleus.OMFContext omfCtx)
clear
public void clear()
- Specified by:
clear in interface org.datanucleus.cache.Level2Cache
close
public void close()
- Specified by:
close in interface org.datanucleus.cache.Level2Cache
containsOid
public boolean containsOid(java.lang.Object oid)
- Specified by:
containsOid in interface org.datanucleus.cache.Level2Cache
evict
public void evict(java.lang.Object oid)
- Specified by:
evict in interface org.datanucleus.cache.Level2Cache
evictAll
public void evictAll()
- Specified by:
evictAll in interface org.datanucleus.cache.Level2Cache
evictAll
public void evictAll(java.lang.Object[] oids)
- Specified by:
evictAll in interface org.datanucleus.cache.Level2Cache
evictAll
public void evictAll(java.util.Collection oids)
- Specified by:
evictAll in interface org.datanucleus.cache.Level2Cache
evictAll
public void evictAll(java.lang.Class arg0,
boolean arg1)
- Specified by:
evictAll in interface org.datanucleus.cache.Level2Cache
get
public org.datanucleus.cache.CachedPC get(java.lang.Object oid)
- Specified by:
get in interface org.datanucleus.cache.Level2Cache
getNumberOfPinnedObjects
public int getNumberOfPinnedObjects()
- Specified by:
getNumberOfPinnedObjects in interface org.datanucleus.cache.Level2Cache
getNumberOfUnpinnedObjects
public int getNumberOfUnpinnedObjects()
- Specified by:
getNumberOfUnpinnedObjects in interface org.datanucleus.cache.Level2Cache
getSize
public int getSize()
- Specified by:
getSize in interface org.datanucleus.cache.Level2Cache
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface org.datanucleus.cache.Level2Cache
pin
public void pin(java.lang.Object arg0)
- Specified by:
pin in interface org.datanucleus.cache.Level2Cache
pinAll
public void pinAll(java.util.Collection arg0)
- Specified by:
pinAll in interface org.datanucleus.cache.Level2Cache
pinAll
public void pinAll(java.lang.Object[] arg0)
- Specified by:
pinAll in interface org.datanucleus.cache.Level2Cache
pinAll
public void pinAll(java.lang.Class arg0,
boolean arg1)
- Specified by:
pinAll in interface org.datanucleus.cache.Level2Cache
put
public org.datanucleus.cache.CachedPC put(java.lang.Object oid,
org.datanucleus.cache.CachedPC pc)
- Specified by:
put in interface org.datanucleus.cache.Level2Cache
unpin
public void unpin(java.lang.Object arg0)
- Specified by:
unpin in interface org.datanucleus.cache.Level2Cache
unpinAll
public void unpinAll(java.util.Collection arg0)
- Specified by:
unpinAll in interface org.datanucleus.cache.Level2Cache
unpinAll
public void unpinAll(java.lang.Object[] arg0)
- Specified by:
unpinAll in interface org.datanucleus.cache.Level2Cache
unpinAll
public void unpinAll(java.lang.Class arg0,
boolean arg1)
- Specified by:
unpinAll in interface org.datanucleus.cache.Level2Cache
Copyright © 2010. All Rights Reserved.