Class OpenJPAJCacheQueryCache
java.lang.Object
org.apache.openjpa.lib.util.concurrent.AbstractConcurrentEventManager
org.apache.openjpa.datacache.AbstractQueryCache
org.apache.commons.jcs3.jcache.openjpa.OpenJPAJCacheQueryCache
- All Implemented Interfaces:
Serializable
,org.apache.openjpa.datacache.QueryCache
,org.apache.openjpa.datacache.TypesChangedListener
,org.apache.openjpa.lib.conf.Configurable
,org.apache.openjpa.lib.util.Closeable
,org.apache.openjpa.lib.util.EventManager
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.openjpa.datacache.AbstractQueryCache
org.apache.openjpa.datacache.AbstractQueryCache.Default<T extends Object>, org.apache.openjpa.datacache.AbstractQueryCache.EvictPolicy
-
Field Summary
Fields inherited from class org.apache.openjpa.datacache.AbstractQueryCache
conf, entityTimestampMap, evictPolicy, log
Fields inherited from class org.apache.openjpa.lib.util.concurrent.AbstractConcurrentEventManager
_listeners
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected org.apache.openjpa.datacache.QueryResult
getInternal
(org.apache.openjpa.datacache.QueryKey qk) void
initialize
(org.apache.openjpa.datacache.DataCacheManager manager) protected Collection
keySet()
protected boolean
pinInternal
(org.apache.openjpa.datacache.QueryKey qk) protected org.apache.openjpa.datacache.QueryResult
putInternal
(org.apache.openjpa.datacache.QueryKey qk, org.apache.openjpa.datacache.QueryResult oids) protected org.apache.openjpa.datacache.QueryResult
removeInternal
(org.apache.openjpa.datacache.QueryKey qk) protected boolean
unpinInternal
(org.apache.openjpa.datacache.QueryKey qk) void
void
Methods inherited from class org.apache.openjpa.datacache.AbstractQueryCache
addTypesChangedListener, afterCommit, clear, close, close, count, endConfiguration, fireEvent, get, getAllEntityTimestamp, getEnableStatistics, getEvictPolicy, getName, getStatistics, isClosed, newListenerCollection, onTypesChanged, pin, put, remove, removeAllInternal, removeTypesChangedListener, setConfiguration, setEnableStatistics, setEvictPolicy, setName, startConfiguration, unpin, updateEntityTimestamp
Methods inherited from class org.apache.openjpa.lib.util.concurrent.AbstractConcurrentEventManager
addListener, fireEvent, getListeners, hasListener, hasListeners, isFailFast, removeListener, setFailFast
-
Constructor Details
-
OpenJPAJCacheQueryCache
public OpenJPAJCacheQueryCache()
-
-
Method Details
-
initialize
- Specified by:
initialize
in interfaceorg.apache.openjpa.datacache.QueryCache
- Overrides:
initialize
in classorg.apache.openjpa.datacache.AbstractQueryCache
-
clearInternal
- Specified by:
clearInternal
in classorg.apache.openjpa.datacache.AbstractQueryCache
-
keySet
- Specified by:
keySet
in classorg.apache.openjpa.datacache.AbstractQueryCache
-
getInternal
protected org.apache.openjpa.datacache.QueryResult getInternal(org.apache.openjpa.datacache.QueryKey qk) - Specified by:
getInternal
in classorg.apache.openjpa.datacache.AbstractQueryCache
-
putInternal
protected org.apache.openjpa.datacache.QueryResult putInternal(org.apache.openjpa.datacache.QueryKey qk, org.apache.openjpa.datacache.QueryResult oids) - Specified by:
putInternal
in classorg.apache.openjpa.datacache.AbstractQueryCache
-
removeInternal
protected org.apache.openjpa.datacache.QueryResult removeInternal(org.apache.openjpa.datacache.QueryKey qk) - Specified by:
removeInternal
in classorg.apache.openjpa.datacache.AbstractQueryCache
-
pinInternal
- Specified by:
pinInternal
in classorg.apache.openjpa.datacache.AbstractQueryCache
-
unpinInternal
- Specified by:
unpinInternal
in classorg.apache.openjpa.datacache.AbstractQueryCache
-
writeLock
-
writeUnlock
-