javax.jdo.datastore.DataStoreCache - JDO interface
Many JDO implementations allow instances to be cached in a second-level cache, and allow direct management of the cache by knowledgeable applications. This interface standardizes this behavior.
- Since:
- JDO 2.0
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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