|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use QueryKey | |
---|---|
org.apache.openjpa.datacache | OpenJPA Data Cache |
Uses of QueryKey in org.apache.openjpa.datacache |
---|
Methods in org.apache.openjpa.datacache that return QueryKey | |
---|---|
static QueryKey |
QueryKey.newInstance(Query q)
Return a key for the given query, or null if it is not cacheable. |
(package private) static QueryKey |
QueryKey.newInstance(QueryContext q,
boolean packed,
Map args,
Class candidate,
boolean subs,
long startIdx,
long endIdx,
Object parsed)
Return a key for the given query, or null if it is not cacheable. |
(package private) static QueryKey |
QueryKey.newInstance(QueryContext q,
boolean packed,
Object[] args,
Class candidate,
boolean subs,
long startIdx,
long endIdx,
Object parsed)
Return a key for the given query, or null if it is not cacheable. |
static QueryKey |
QueryKey.newInstance(Query q,
Map args)
Return a key for the given query, or null if it is not cacheable. |
static QueryKey |
QueryKey.newInstance(Query q,
Object[] args)
Return a key for the given query, or null if it is not cacheable. |
Methods in org.apache.openjpa.datacache that return types with arguments of type QueryKey | |
---|---|
QueryStatistics<QueryKey> |
QueryCache.getStatistics()
Gets the simple statistics for query results. |
QueryStatistics<QueryKey> |
DelegatingQueryCache.getStatistics()
|
QueryStatistics<QueryKey> |
AbstractQueryCache.getStatistics()
|
Methods in org.apache.openjpa.datacache with parameters of type QueryKey | |
---|---|
QueryResult |
QueryCache.get(QueryKey qk)
Return a list of oids for the given query key. |
QueryResult |
DelegatingQueryCache.get(QueryKey qk)
|
QueryResult |
AbstractQueryCache.get(QueryKey key)
|
protected QueryResult |
ConcurrentQueryCache.getInternal(QueryKey qk)
|
protected abstract QueryResult |
AbstractQueryCache.getInternal(QueryKey qk)
Return the list for the given key. |
boolean |
QueryCache.pin(QueryKey qk)
Pin the value stored under qk into the
cache. |
boolean |
DelegatingQueryCache.pin(QueryKey qk)
|
boolean |
AbstractQueryCache.pin(QueryKey key)
|
protected boolean |
ConcurrentQueryCache.pinInternal(QueryKey qk)
|
protected abstract boolean |
AbstractQueryCache.pinInternal(QueryKey qk)
Pin an object to the cache. |
QueryResult |
QueryCache.put(QueryKey qk,
QueryResult oids)
Set the list of OIDs for the given query key. |
QueryResult |
DelegatingQueryCache.put(QueryKey qk,
QueryResult oids)
|
QueryResult |
AbstractQueryCache.put(QueryKey qk,
QueryResult oids)
|
protected QueryResult |
ConcurrentQueryCache.putInternal(QueryKey qk,
QueryResult result)
|
protected abstract QueryResult |
AbstractQueryCache.putInternal(QueryKey qk,
QueryResult oids)
Add the given result to the cache, returning the old result under the given key. |
QueryResult |
QueryCache.remove(QueryKey qk)
Remove the value stored under the given query key. |
QueryResult |
DelegatingQueryCache.remove(QueryKey qk)
|
QueryResult |
AbstractQueryCache.remove(QueryKey key)
|
protected QueryResult |
ConcurrentQueryCache.removeInternal(QueryKey qk)
|
protected abstract QueryResult |
AbstractQueryCache.removeInternal(QueryKey qk)
Remove the result under the given key from the cache. |
boolean |
QueryCache.unpin(QueryKey qk)
Unpin the value stored under key into the cache. |
boolean |
DelegatingQueryCache.unpin(QueryKey qk)
|
boolean |
AbstractQueryCache.unpin(QueryKey key)
|
protected boolean |
ConcurrentQueryCache.unpinInternal(QueryKey qk)
|
protected abstract boolean |
AbstractQueryCache.unpinInternal(QueryKey qk)
Unpin an object from the cache. |
Constructors in org.apache.openjpa.datacache with parameters of type QueryKey | |
---|---|
QueryResult(QueryKey key,
Collection<Object> data)
Constructor; supply corresponding query key and result data. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |