Home » JDO » DataStoreCache.EmptyDataStoreCache

javax.jdo.datastore.DataStoreCache.EmptyDataStoreCache - JDO class

javax.jdo.datastore
Class DataStoreCache.EmptyDataStoreCache

java.lang.Object
    javax.jdo.datastore.DataStoreCache.EmptyDataStoreCache
Implemented Interfaces:
DataStoreCache
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.
Since:
JDO 2.0
Since:
JDO 2.
Since:
JDO 2.0
void evict(Object oid)
Evict the parameter instance from the second-level cache.
Evict the parameter instance from the second-level cache.
Parameters:
oid - the object id of the instance to evict.
Since:
JDO 2.0
void evict(Object oid)
Parameters:
oid -
Since:
JDO 2.
Parameters:
oid -
Since:
JDO 2.0
void evictAll()
Evict the parameter instances from the second-level cache.
Evict the parameter instances from the second-level cache. All instances in the PersistenceManager's cache are evicted from the second-level cache.
Since:
JDO 2.0
void evictAll(Object... oids)
Evict the parameter instances from the second-level cache.
Evict the parameter instances from the second-level cache.
Parameters:
oids - the object ids of the instance to evict.
Since:
JDO 2.0
void evictAll(Collection oids)
Evict the parameter instances from the second-level cache.
Evict the parameter instances from the second-level cache.
Parameters:
oids - the object ids of the instance to evict.
Since:
JDO 2.0
void evictAll(Class pcClass, boolean subclasses)
Evict the parameter instances from the second-level cache.
Evict the parameter instances from the second-level cache.
Parameters:
pcClass - the class of instances to evict
subclasses - if true, evict instances of subclasses also
Since:
JDO 2.0
void evictAll(boolean subclasses, Class pcClass)
Evict the parameter instances from the second-level cache.
Evict the parameter instances from the second-level cache.
Parameters:
subclasses - if true, evict instances of subclasses also
pcClass - the class of instances to evict
Since:
JDO 2.1
void evictAll()
Since:
JDO 2.
Since:
JDO 2.0
void evictAll(Object... oids)
Parameters:
oids -
Since:
JDO 2.
Parameters:
oids -
Since:
JDO 2.0
void evictAll(Collection oids)
Parameters:
oids -
Since:
JDO 2.
Parameters:
oids -
Since:
JDO 2.0
void evictAll(Class pcClass, boolean subclasses)
Parameters:
pcClass -
subclasses -
Since:
JDO 2.
Parameters:
pcClass -
subclasses -
Since:
JDO 2.0
void evictAll(boolean subclasses, Class pcClass)
Parameters:
subclasses -
pcClass -
Since:
JDO 2.
Parameters:
subclasses -
pcClass -
Since:
JDO 2.0
void pin(Object oid)
Pin the parameter instance in the second-level cache.
Pin the parameter instance in the second-level cache.
Parameters:
oid - the object id of the instance to pin.
Since:
JDO 2.0
void pin(Object oid)
Parameters:
oid -
Since:
JDO 2.
Parameters:
oid -
Since:
JDO 2.0
void pinAll(Object... oids)
Pin the parameter instances in the second-level cache.
Pin the parameter instances in the second-level cache.
Parameters:
oids - the object ids of the instances to pin.
Since:
JDO 2.0
void pinAll(Collection oids)
Pin the parameter instances in the second-level cache.
Pin the parameter instances in the second-level cache.
Parameters:
oids - the object ids of the instances to pin.
Since:
JDO 2.0
void pinAll(Class pcClass, boolean subclasses)
Pin instances in the second-level cache.
Pin instances in the second-level cache.
Parameters:
pcClass - the class of instances to pin
subclasses - if true, pin instances of subclasses also
Since:
JDO 2.0
void pinAll(boolean subclasses, Class pcClass)
Pin instances in the second-level cache.
Pin instances in the second-level cache.
Parameters:
subclasses - if true, pin instances of subclasses also
pcClass - the class of instances to pin
Since:
JDO 2.1
void pinAll(Object... oids)
Parameters:
oids -
Since:
JDO 2.
Parameters:
oids -
Since:
JDO 2.0
void pinAll(Collection oids)
Parameters:
oids -
Since:
JDO 2.
Parameters:
oids -
Since:
JDO 2.0
void pinAll(Class pcClass, boolean subclasses)
Parameters:
pcClass -
subclasses -
Since:
JDO 2.
Parameters:
pcClass -
subclasses -
Since:
JDO 2.0
void pinAll(boolean subclasses, Class pcClass)
Parameters:
subclasses -
pcClass -
Since:
JDO 2.
Parameters:
subclasses -
pcClass -
Since:
JDO 2.0
void unpin(Object oid)
Unpin the parameter instance from the second-level cache.
Unpin the parameter instance from the second-level cache.
Parameters:
oid - the object id of the instance to unpin.
Since:
JDO 2.0
void unpin(Object oid)
Parameters:
oid -
Since:
JDO 2.
Parameters:
oid -
Since:
JDO 2.0
void unpinAll(Object... oids)
Unpin the parameter instance from the second-level cache.
Unpin the parameter instance from the second-level cache.
Parameters:
oids - the object id of the instance to evict.
Since:
JDO 2.0
void unpinAll(Collection oids)
Unpin the parameter instances from the second-level cache.
Unpin the parameter instances from the second-level cache.
Parameters:
oids - the object ids of the instance to evict.
Since:
JDO 2.0
void unpinAll(Class pcClass, boolean subclasses)
Unpin instances from the second-level cache.
Unpin instances from the second-level cache.
Parameters:
pcClass - the class of instances to unpin
subclasses - if true, unpin instances of subclasses also
Since:
JDO 2.0
void unpinAll(boolean subclasses, Class pcClass)
Unpin instances from the second-level cache.
Unpin instances from the second-level cache.
Parameters:
subclasses - if true, unpin instances of subclasses also
pcClass - the class of instances to unpin
Since:
JDO 2.1
void unpinAll(Object... oids)
Parameters:
oids -
Since:
JDO 2.
Parameters:
oids -
Since:
JDO 2.0
void unpinAll(Collection oids)
Parameters:
oids -
Since:
JDO 2.
Parameters:
oids -
Since:
JDO 2.0
void unpinAll(Class pcClass, boolean subclasses)
Parameters:
pcClass -
subclasses -
Since:
JDO 2.
Parameters:
pcClass -
subclasses -
Since:
JDO 2.0
void unpinAll(boolean subclasses, Class pcClass)
Parameters:
subclasses -
pcClass -
Since:
JDO 2.
Parameters:
subclasses -
pcClass -
Since:
JDO 2.0

This documentation page is derived (with some adjustments) from the JDO 2.2 API
and is available under the terms of the Apache License, v. 2.0.