org.datanucleus.query.cache
Class AbstractQueryCompilationCache

java.lang.Object
  extended by 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.


Constructor Summary
AbstractQueryCompilationCache()
           
 
Method Summary
 void clear()
           
 void close()
           
 boolean contains(java.lang.String queryKey)
           
 void evict(java.lang.String queryKey)
           
 QueryCompilation get(java.lang.String queryKey)
           
 boolean isEmpty()
           
 QueryCompilation put(java.lang.String queryKey, QueryCompilation compilation)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractQueryCompilationCache

public AbstractQueryCompilationCache()
Method Detail

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.