Package | Description |
---|---|
org.apache.openjpa.datacache |
OpenJPA Data Cache
OpenJPA's data and query caching frameworks.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Constructor and Description |
---|
CachedList(QueryResult res,
boolean proj,
StoreContext ctx,
FetchConfiguration fc) |
Copyright © 2006–2018 Apache Software Foundation. All rights reserved.