org.datanucleus.query.cache
Class AbstractQueryCompilationCache
java.lang.Object
org.datanucleus.query.cache.AbstractQueryCompilationCache
- Direct Known Subclasses:
- SoftQueryCompilationCache, StrongQueryCompilationCache, WeakQueryCompilationCache
public class AbstractQueryCompilationCache
- extends java.lang.Object
Abstract representation of a cache of generic query compilations.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractQueryCompilationCache
public AbstractQueryCompilationCache()
clear
public void clear()
close
public void close()
contains
public boolean contains(java.lang.String queryKey)
evict
public void evict(java.lang.String queryKey)
get
public QueryCompilation get(java.lang.String queryKey)
isEmpty
public boolean isEmpty()
put
public QueryCompilation put(java.lang.String queryKey,
QueryCompilation compilation)
size
public int size()
Copyright © 2011. All Rights Reserved.