Class QueryResultCacheImpl
java.lang.Object
org.apache.openjpa.persistence.QueryResultCacheImpl
- All Implemented Interfaces:
QueryResultCache
Implements Query result cache via delegation to QueryCache.
- Since:
- 0.4.1
- Author:
- Abe White
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
QueryResultCacheImpl
Constructor; supply delegate.
-
-
Method Details
-
getDelegate
-
pin
Description copied from interface:QueryResultCachePin the given query's result to the cache.- Specified by:
pinin interfaceQueryResultCache
-
unpin
Description copied from interface:QueryResultCacheUnpin a previously-pinned query result.- Specified by:
unpinin interfaceQueryResultCache
-
evict
Description copied from interface:QueryResultCacheEvict a query result from the cache.- Specified by:
evictin interfaceQueryResultCache
-
evictAll
public void evictAll()Description copied from interface:QueryResultCacheClear the cache.- Specified by:
evictAllin interfaceQueryResultCache
-
evictAll
Description copied from interface:QueryResultCacheEvict all result for queries involving the given class.- Specified by:
evictAllin interfaceQueryResultCache
-
hashCode
-
equals
-