|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QueryResultCache
Query result cache.
Method Summary | |
---|---|
void |
evict(Query q)
Evict a query result from the cache. |
void |
evictAll()
Clear the cache. |
void |
evictAll(Class cls)
Evict all result for queries involving the given class. |
QueryCache |
getDelegate()
Deprecated. cast to QueryResultCacheImpl instead. This
method pierces the published-API boundary, as does the SPI cast. |
void |
pin(Query q)
Pin the given query's result to the cache. |
void |
unpin(Query q)
Unpin a previously-pinned query result. |
Method Detail |
---|
void pin(Query q)
void unpin(Query q)
void evict(Query q)
void evictAll()
void evictAll(Class cls)
QueryCache getDelegate()
QueryResultCacheImpl
instead. This
method pierces the published-API boundary, as does the SPI cast.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |