|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.datanucleus.jdo.JDODataStoreCache
public class JDODataStoreCache
Implementation of the JDO DataStoreCache. Provides a wrapper and hands off calls to the underlying JPOX Level2 cache
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface javax.jdo.datastore.DataStoreCache |
|---|
javax.jdo.datastore.DataStoreCache.EmptyDataStoreCache |
| Constructor Summary | |
|---|---|
JDODataStoreCache(Level2Cache cache)
Constructor. |
|
| Method Summary | |
|---|---|
void |
evict(java.lang.Object oid)
Evict the parameter instance from the second-level cache. |
void |
evictAll()
Evict the parameter instances from the second-level cache. |
void |
evictAll(boolean subclasses,
java.lang.Class pcClass)
Evict the parameter instances from the second-level cache. |
void |
evictAll(java.lang.Class pcClass,
boolean subclasses)
Evict the parameter instances from the second-level cache. |
void |
evictAll(java.util.Collection oids)
Evict the parameter instances from the second-level cache. |
void |
evictAll(java.lang.Object[] oids)
Evict the parameter instances from the second-level cache. |
Level2Cache |
getLevel2Cache()
Accessor for the underlying Level 2 cache. |
void |
pin(java.lang.Object oid)
Pin the parameter instance in the second-level cache. |
void |
pinAll(boolean subclasses,
java.lang.Class pcClass)
Pin instances in the second-level cache. |
void |
pinAll(java.lang.Class pcClass,
boolean subclasses)
Pin instances in the second-level cache. |
void |
pinAll(java.util.Collection oids)
Pin the parameter instances in the second-level cache. |
void |
pinAll(java.lang.Object[] oids)
Pin the parameter instances in the second-level cache. |
void |
unpin(java.lang.Object oid)
Unpin the parameter instance from the second-level cache. |
void |
unpinAll(boolean subclasses,
java.lang.Class pcClass)
Unpin instances from the second-level cache. |
void |
unpinAll(java.lang.Class pcClass,
boolean subclasses)
Unpin instances from the second-level cache. |
void |
unpinAll(java.util.Collection oids)
Unpin the parameter instances from the second-level cache. |
void |
unpinAll(java.lang.Object[] oids)
Unpin the parameter instance from the second-level cache. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JDODataStoreCache(Level2Cache cache)
cache - Level 2 Cache| Method Detail |
|---|
public Level2Cache getLevel2Cache()
public void evict(java.lang.Object oid)
evict in interface javax.jdo.datastore.DataStoreCacheoid - the object id of the instance to evict.public void evictAll()
evictAll in interface javax.jdo.datastore.DataStoreCachepublic void evictAll(java.lang.Object[] oids)
evictAll in interface javax.jdo.datastore.DataStoreCacheoids - the object ids of the instance to evict.public void evictAll(java.util.Collection oids)
evictAll in interface javax.jdo.datastore.DataStoreCacheoids - the object ids of the instance to evict.
public void evictAll(java.lang.Class pcClass,
boolean subclasses)
evictAll in interface javax.jdo.datastore.DataStoreCachepcClass - the class of instances to evictsubclasses - if true, evict instances of subclasses also
public void evictAll(boolean subclasses,
java.lang.Class pcClass)
evictAll in interface javax.jdo.datastore.DataStoreCachepcClass - the class of instances to evictsubclasses - if true, evict instances of subclasses alsopublic void pin(java.lang.Object oid)
pin in interface javax.jdo.datastore.DataStoreCacheoid - the object id of the instance to pin.public void pinAll(java.util.Collection oids)
pinAll in interface javax.jdo.datastore.DataStoreCacheoids - the object ids of the instances to pin.public void pinAll(java.lang.Object[] oids)
pinAll in interface javax.jdo.datastore.DataStoreCacheoids - the object ids of the instances to pin.
public void pinAll(java.lang.Class pcClass,
boolean subclasses)
pinAll in interface javax.jdo.datastore.DataStoreCachepcClass - the class of instances to pinsubclasses - if true, pin instances of subclasses also
public void pinAll(boolean subclasses,
java.lang.Class pcClass)
pinAll in interface javax.jdo.datastore.DataStoreCachesubclasses - if true, pin instances of subclasses alsopcClass - the class of instances to pinpublic void unpin(java.lang.Object oid)
unpin in interface javax.jdo.datastore.DataStoreCacheoid - the object id of the instance to unpin.public void unpinAll(java.util.Collection oids)
unpinAll in interface javax.jdo.datastore.DataStoreCacheoids - the object ids of the instance to evict.public void unpinAll(java.lang.Object[] oids)
unpinAll in interface javax.jdo.datastore.DataStoreCacheoids - the object id of the instance to evict.
public void unpinAll(java.lang.Class pcClass,
boolean subclasses)
unpinAll in interface javax.jdo.datastore.DataStoreCachepcClass - the class of instances to unpinsubclasses - if true, unpin instances of subclasses also
public void unpinAll(boolean subclasses,
java.lang.Class pcClass)
unpinAll in interface javax.jdo.datastore.DataStoreCachesubclasses - if true, unpin instances of subclasses alsopcClass - the class of instances to unpin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||