|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface QueryCompilationCache
Cache for query compilations (generic).
| Method Summary | |
|---|---|
void |
clear()
Method to clear the cache. |
void |
close()
Method to close the cache when no longer needed. |
boolean |
contains(java.lang.String queryKey)
Accessor for whether the specified query is in the cache |
void |
evict(java.lang.String queryKey)
Evict the query from the compilation cache. |
QueryCompilation |
get(java.lang.String queryKey)
Accessor for a (generic) compilation from the cache. |
boolean |
isEmpty()
Accessor for whether the cache is empty. |
QueryCompilation |
put(java.lang.String queryKey,
QueryCompilation compilation)
Method to put an object in the cache. |
int |
size()
Accessor for the total number of compilations in the query cache. |
| Method Detail |
|---|
void close()
void evict(java.lang.String queryKey)
queryKey - Key for the query to evict.void clear()
boolean isEmpty()
int size()
QueryCompilation get(java.lang.String queryKey)
queryKey - The query key
QueryCompilation put(java.lang.String queryKey,
QueryCompilation compilation)
queryKey - The query keycompilation - The compilation to cache
boolean contains(java.lang.String queryKey)
queryKey - The query key
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||