|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StoreCache
Represents the L2 cache over the data store.
Field Summary | |
---|---|
static String |
NAME_DEFAULT
|
Method Summary | |
---|---|
boolean |
contains(Class cls,
Object oid)
Whether the cache contains data for the given oid. |
boolean |
containsAll(Class cls,
Collection oids)
Whether the cache contains data for the given oids. |
boolean |
containsAll(Class cls,
Object... oids)
Whether the cache contains data for the given oids. |
void |
evict(Class cls,
Object oid)
Remove data for the given oid from the cache. |
void |
evictAll()
Clear the cache. |
void |
evictAll(Class cls,
Collection oids)
Remove data for the given oids from the cache. |
void |
evictAll(Class cls,
Object... oids)
Remove data for the given oids from the cache. |
DataCache |
getDelegate()
Delegate. |
void |
pin(Class cls,
Object oid)
Pin the data for the given oid to the cache. |
void |
pinAll(Class cls,
Collection oids)
Pin the data for the given oids to the cache. |
void |
pinAll(Class cls,
Object... oids)
Pin the data for the given oids to the cache. |
void |
unpin(Class cls,
Object oid)
Unpin the data for the given oid from the cache. |
void |
unpinAll(Class cls,
Collection oids)
Unpin the data for the given oids from the cache. |
void |
unpinAll(Class cls,
Object... oids)
Unpin the data for the given oids from the cache. |
Field Detail |
---|
static final String NAME_DEFAULT
Method Detail |
---|
DataCache getDelegate()
boolean contains(Class cls, Object oid)
boolean containsAll(Class cls, Object... oids)
boolean containsAll(Class cls, Collection oids)
void pin(Class cls, Object oid)
void pinAll(Class cls, Object... oids)
void pinAll(Class cls, Collection oids)
void unpin(Class cls, Object oid)
void unpinAll(Class cls, Object... oids)
void unpinAll(Class cls, Collection oids)
void evict(Class cls, Object oid)
void evictAll(Class cls, Object... oids)
void evictAll(Class cls, Collection oids)
void evictAll()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |