public interface QueryResultCache
Modifier and Type | Method and Description |
---|---|
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.
|
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.Copyright © 2006–2017 Apache Software Foundation. All rights reserved.