|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.jdo.datastore.DataStoreCache.EmptyDataStoreCache
public static class DataStoreCache.EmptyDataStoreCache
This class is an empty implementation of the DataStoreCache interface. It can be used by an implementation that does not support a second-level cache.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface javax.jdo.datastore.DataStoreCache |
|---|
DataStoreCache.EmptyDataStoreCache |
| Constructor Summary | |
|---|---|
DataStoreCache.EmptyDataStoreCache()
|
|
| 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. |
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 |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataStoreCache.EmptyDataStoreCache()
| Method Detail |
|---|
public void evict(java.lang.Object oid)
DataStoreCache
evict in interface DataStoreCacheoid - the object id of the instance to evict.public void evictAll()
DataStoreCache
evictAll in interface DataStoreCachepublic void evictAll(java.lang.Object... oids)
DataStoreCache
evictAll in interface DataStoreCacheoids - the object ids of the instance to evict.public void evictAll(java.util.Collection oids)
DataStoreCache
evictAll in interface DataStoreCacheoids - the object ids of the instance to evict.
public void evictAll(java.lang.Class pcClass,
boolean subclasses)
DataStoreCache
evictAll in interface DataStoreCachepcClass - the class of instances to evictsubclasses - if true, evict instances of subclasses also
public void evictAll(boolean subclasses,
java.lang.Class pcClass)
DataStoreCache
evictAll in interface DataStoreCachesubclasses - if true, evict instances of subclasses alsopcClass - the class of instances to evictpublic void pin(java.lang.Object oid)
DataStoreCache
pin in interface DataStoreCacheoid - the object id of the instance to pin.public void pinAll(java.lang.Object... oids)
DataStoreCache
pinAll in interface DataStoreCacheoids - the object ids of the instances to pin.public void pinAll(java.util.Collection oids)
DataStoreCache
pinAll in interface DataStoreCacheoids - the object ids of the instances to pin.
public void pinAll(java.lang.Class pcClass,
boolean subclasses)
DataStoreCache
pinAll in interface DataStoreCachepcClass - the class of instances to pinsubclasses - if true, pin instances of subclasses also
public void pinAll(boolean subclasses,
java.lang.Class pcClass)
DataStoreCache
pinAll in interface DataStoreCachesubclasses - if true, pin instances of subclasses alsopcClass - the class of instances to pinpublic void unpin(java.lang.Object oid)
DataStoreCache
unpin in interface DataStoreCacheoid - the object id of the instance to unpin.public void unpinAll(java.lang.Object... oids)
DataStoreCache
unpinAll in interface DataStoreCacheoids - the object id of the instance to evict.public void unpinAll(java.util.Collection oids)
DataStoreCache
unpinAll in interface DataStoreCacheoids - the object ids of the instance to evict.
public void unpinAll(java.lang.Class pcClass,
boolean subclasses)
DataStoreCache
unpinAll in interface DataStoreCachepcClass - the class of instances to unpinsubclasses - if true, unpin instances of subclasses also
public void unpinAll(boolean subclasses,
java.lang.Class pcClass)
DataStoreCache
unpinAll in interface 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 | |||||||||