Class OpenJPAJCacheDataCache
java.lang.Object
org.apache.openjpa.lib.util.concurrent.AbstractConcurrentEventManager
org.apache.openjpa.datacache.AbstractDataCache
org.apache.commons.jcs3.jcache.openjpa.OpenJPAJCacheDataCache
- All Implemented Interfaces:
Serializable
,org.apache.openjpa.datacache.DataCache
,org.apache.openjpa.lib.conf.Configurable
,org.apache.openjpa.lib.util.Clearable
,org.apache.openjpa.lib.util.Closeable
,org.apache.openjpa.lib.util.EventManager
- See Also:
-
Field Summary
Fields inherited from class org.apache.openjpa.datacache.AbstractDataCache
_evictOnBulkUpdate, _excludedTypes, _includedTypes, _stats, conf, log
Fields inherited from class org.apache.openjpa.lib.util.concurrent.AbstractConcurrentEventManager
_listeners
Fields inherited from interface org.apache.openjpa.datacache.DataCache
NAME_DEFAULT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected org.apache.openjpa.datacache.DataCachePCData
getInternal
(Object oid) void
initialize
(org.apache.openjpa.datacache.DataCacheManager manager) protected boolean
pinInternal
(Object oid) protected org.apache.openjpa.datacache.DataCachePCData
putInternal
(Object oid, org.apache.openjpa.datacache.DataCachePCData pc) protected void
removeAllInternal
(Class<?> cls, boolean subclasses) protected org.apache.openjpa.datacache.DataCachePCData
removeInternal
(Object oid) protected boolean
unpinInternal
(Object oid) void
void
Methods inherited from class org.apache.openjpa.datacache.AbstractDataCache
addExpirationListener, afterCommit, clear, close, close, commit, contains, containsAll, endConfiguration, fireEvent, get, getAll, getEnableStatistics, getEvictionSchedule, getEvictOnBulkUpdate, getExcludedTypes, getName, getPartition, getPartitionNames, getStatistics, getTypes, isClosed, isPartitioned, keyRemoved, pin, pinAll, pinAll, put, putAllInternal, recacheUpdates, remove, removeAll, removeAll, removeAllInternal, removeAllTypeNamesInternal, removeExpirationListener, selectCache, setConfiguration, setEnableStatistics, setEvictionSchedule, setEvictOnBulkUpdate, setExcludedTypes, setExcludedTypes, setName, setTypes, setTypes, startConfiguration, toString, unpin, unpinAll, unpinAll, update
Methods inherited from class org.apache.openjpa.lib.util.concurrent.AbstractConcurrentEventManager
addListener, fireEvent, getListeners, hasListener, hasListeners, isFailFast, newListenerCollection, removeListener, setFailFast
-
Constructor Details
-
OpenJPAJCacheDataCache
public OpenJPAJCacheDataCache()
-
-
Method Details
-
initialize
- Specified by:
initialize
in interfaceorg.apache.openjpa.datacache.DataCache
- Overrides:
initialize
in classorg.apache.openjpa.datacache.AbstractDataCache
-
getInternal
- Specified by:
getInternal
in classorg.apache.openjpa.datacache.AbstractDataCache
-
putInternal
protected org.apache.openjpa.datacache.DataCachePCData putInternal(Object oid, org.apache.openjpa.datacache.DataCachePCData pc) - Specified by:
putInternal
in classorg.apache.openjpa.datacache.AbstractDataCache
-
removeInternal
- Specified by:
removeInternal
in classorg.apache.openjpa.datacache.AbstractDataCache
-
removeAllInternal
- Specified by:
removeAllInternal
in classorg.apache.openjpa.datacache.AbstractDataCache
-
clearInternal
- Specified by:
clearInternal
in classorg.apache.openjpa.datacache.AbstractDataCache
-
pinInternal
- Specified by:
pinInternal
in classorg.apache.openjpa.datacache.AbstractDataCache
-
unpinInternal
- Specified by:
unpinInternal
in classorg.apache.openjpa.datacache.AbstractDataCache
-
writeLock
-
writeUnlock
-