Interface QueryResultCache
- All Known Implementing Classes:
QueryResultCacheImpl
public interface QueryResultCache
Query result cache.
- Since:
- 0.4.1
- Author:
- Abe White
-
Method Summary
Modifier and TypeMethodDescriptionvoidEvict a query result from the cache.voidevictAll()Clear the cache.voidEvict all result for queries involving the given class.Deprecated.voidPin the given query's result to the cache.voidUnpin a previously-pinned query result.
-
Method Details
-
pin
Pin the given query's result to the cache. -
unpin
Unpin a previously-pinned query result. -
evict
Evict a query result from the cache. -
evictAll
void evictAll()Clear the cache. -
evictAll
Evict all result for queries involving the given class. -
getDelegate
Deprecated.cast toQueryResultCacheImplinstead. This method pierces the published-API boundary, as does the SPI cast.
-
QueryResultCacheImplinstead.