public interface DataStoreCache
Modifier and Type | Interface and Description |
---|---|
static class |
DataStoreCache.EmptyDataStoreCache
This class is an empty implementation of the DataStoreCache
interface.
|
Modifier and Type | Method and Description |
---|---|
void |
evict(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,
Class pcClass)
Evict the parameter instances from the second-level cache.
|
void |
evictAll(Collection oids)
Evict the parameter instances from the second-level cache.
|
void |
evictAll(Object... oids)
Evict the parameter instances from the second-level cache.
|
void |
pin(Object oid)
Pin the parameter instance in the second-level cache.
|
void |
pinAll(boolean subclasses,
Class pcClass)
Pin instances in the second-level cache.
|
void |
pinAll(Collection oids)
Pin the parameter instances in the second-level cache.
|
void |
pinAll(Object... oids)
Pin the parameter instances in the second-level cache.
|
void |
unpin(Object oid)
Unpin the parameter instance from the second-level cache.
|
void |
unpinAll(boolean subclasses,
Class pcClass)
Unpin instances from the second-level cache.
|
void |
unpinAll(Collection oids)
Unpin the parameter instances from the second-level cache.
|
void |
unpinAll(Object... oids)
Unpin the parameter instance from the second-level cache.
|
void evict(Object oid)
oid
- the object id of the instance to evict.void evictAll()
void evictAll(Object... oids)
oids
- the object ids of the instance to evict.void evictAll(Collection oids)
oids
- the object ids of the instance to evict.void evictAll(boolean subclasses, Class pcClass)
pcClass
- the class of instances to evictsubclasses
- if true, evict instances of subclasses alsovoid pin(Object oid)
oid
- the object id of the instance to pin.void pinAll(Collection oids)
oids
- the object ids of the instances to pin.void pinAll(Object... oids)
oids
- the object ids of the instances to pin.void pinAll(boolean subclasses, Class pcClass)
pcClass
- the class of instances to pinsubclasses
- if true, pin instances of subclasses alsovoid unpin(Object oid)
oid
- the object id of the instance to unpin.void unpinAll(Collection oids)
oids
- the object ids of the instance to evict.void unpinAll(Object... oids)
oids
- the object id of the instance to evict.void unpinAll(boolean subclasses, Class pcClass)
pcClass
- the class of instances to unpinsubclasses
- if true, unpin instances of subclasses alsoCopyright © 2005–1970 Apache Software Foundation. All rights reserved.