public static class DataStoreCache.EmptyDataStoreCache extends Object implements DataStoreCache
DataStoreCache.EmptyDataStoreCache
Constructor and Description |
---|
EmptyDataStoreCache() |
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.
|
public void evict(Object oid)
DataStoreCache
evict
in interface DataStoreCache
oid
- the object id of the instance to evict.public void evictAll()
DataStoreCache
evictAll
in interface DataStoreCache
public void evictAll(Object... oids)
DataStoreCache
evictAll
in interface DataStoreCache
oids
- the object ids of the instance to evict.public void evictAll(Collection oids)
DataStoreCache
evictAll
in interface DataStoreCache
oids
- the object ids of the instance to evict.public void evictAll(boolean subclasses, Class pcClass)
DataStoreCache
evictAll
in interface DataStoreCache
subclasses
- if true, evict instances of subclasses alsopcClass
- the class of instances to evictpublic void pin(Object oid)
DataStoreCache
pin
in interface DataStoreCache
oid
- the object id of the instance to pin.public void pinAll(Object... oids)
DataStoreCache
pinAll
in interface DataStoreCache
oids
- the object ids of the instances to pin.public void pinAll(Collection oids)
DataStoreCache
pinAll
in interface DataStoreCache
oids
- the object ids of the instances to pin.public void pinAll(boolean subclasses, Class pcClass)
DataStoreCache
pinAll
in interface DataStoreCache
subclasses
- if true, pin instances of subclasses alsopcClass
- the class of instances to pinpublic void unpin(Object oid)
DataStoreCache
unpin
in interface DataStoreCache
oid
- the object id of the instance to unpin.public void unpinAll(Object... oids)
DataStoreCache
unpinAll
in interface DataStoreCache
oids
- the object id of the instance to evict.public void unpinAll(Collection oids)
DataStoreCache
unpinAll
in interface DataStoreCache
oids
- the object ids of the instance to evict.public void unpinAll(boolean subclasses, Class pcClass)
DataStoreCache
unpinAll
in interface DataStoreCache
subclasses
- if true, unpin instances of subclasses alsopcClass
- the class of instances to unpinCopyright © 2005–1970 Apache Software Foundation. All rights reserved.