org.datanucleus.cache.cacheonix
Class CacheonixQueryResultCache
java.lang.Object
org.datanucleus.cache.cacheonix.CacheonixQueryResultCache
- All Implemented Interfaces:
- Serializable, org.datanucleus.store.query.cache.QueryResultsCache
public class CacheonixQueryResultCache
- extends Object
- implements org.datanucleus.store.query.cache.QueryResultsCache
Implementation of a query results cache using Cacheonix.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CacheonixQueryResultCache
public CacheonixQueryResultCache(org.datanucleus.NucleusContext nucleusCtx)
close
public void close()
- Specified by:
close in interface org.datanucleus.store.query.cache.QueryResultsCache
evict
public void evict(Class candidate)
- Specified by:
evict in interface org.datanucleus.store.query.cache.QueryResultsCache
evict
public void evict(org.datanucleus.store.query.Query query)
- Specified by:
evict in interface org.datanucleus.store.query.cache.QueryResultsCache
evict
public void evict(org.datanucleus.store.query.Query query,
Map params)
- Specified by:
evict in interface org.datanucleus.store.query.cache.QueryResultsCache
evictAll
public void evictAll()
- Specified by:
evictAll in interface org.datanucleus.store.query.cache.QueryResultsCache
pin
public void pin(org.datanucleus.store.query.Query query)
- Specified by:
pin in interface org.datanucleus.store.query.cache.QueryResultsCache
pin
public void pin(org.datanucleus.store.query.Query query,
Map params)
- Specified by:
pin in interface org.datanucleus.store.query.cache.QueryResultsCache
unpin
public void unpin(org.datanucleus.store.query.Query query)
- Specified by:
unpin in interface org.datanucleus.store.query.cache.QueryResultsCache
unpin
public void unpin(org.datanucleus.store.query.Query query,
Map params)
- Specified by:
unpin in interface org.datanucleus.store.query.cache.QueryResultsCache
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface org.datanucleus.store.query.cache.QueryResultsCache
size
public int size()
- Specified by:
size in interface org.datanucleus.store.query.cache.QueryResultsCache
get
public List<Object> get(String queryKey)
- Specified by:
get in interface org.datanucleus.store.query.cache.QueryResultsCache
put
public List<Object> put(String queryKey,
List<Object> results)
- Specified by:
put in interface org.datanucleus.store.query.cache.QueryResultsCache
contains
public boolean contains(String queryKey)
- Specified by:
contains in interface org.datanucleus.store.query.cache.QueryResultsCache
Copyright © 2011. All Rights Reserved.