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, logFields inherited from class org.apache.openjpa.lib.util.concurrent.AbstractConcurrentEventManager
_listenersFields inherited from interface org.apache.openjpa.datacache.DataCache
NAME_DEFAULT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected org.apache.openjpa.datacache.DataCachePCDatagetInternal(Object oid) voidinitialize(org.apache.openjpa.datacache.DataCacheManager manager) protected booleanpinInternal(Object oid) protected org.apache.openjpa.datacache.DataCachePCDataputInternal(Object oid, org.apache.openjpa.datacache.DataCachePCData pc) protected voidremoveAllInternal(Class<?> cls, boolean subclasses) protected org.apache.openjpa.datacache.DataCachePCDataremoveInternal(Object oid) protected booleanunpinInternal(Object oid) voidvoidMethods 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, updateMethods 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:
initializein interfaceorg.apache.openjpa.datacache.DataCache- Overrides:
initializein classorg.apache.openjpa.datacache.AbstractDataCache
-
getInternal
- Specified by:
getInternalin classorg.apache.openjpa.datacache.AbstractDataCache
-
putInternal
protected org.apache.openjpa.datacache.DataCachePCData putInternal(Object oid, org.apache.openjpa.datacache.DataCachePCData pc) - Specified by:
putInternalin classorg.apache.openjpa.datacache.AbstractDataCache
-
removeInternal
- Specified by:
removeInternalin classorg.apache.openjpa.datacache.AbstractDataCache
-
removeAllInternal
- Specified by:
removeAllInternalin classorg.apache.openjpa.datacache.AbstractDataCache
-
clearInternal
- Specified by:
clearInternalin classorg.apache.openjpa.datacache.AbstractDataCache
-
pinInternal
- Specified by:
pinInternalin classorg.apache.openjpa.datacache.AbstractDataCache
-
unpinInternal
- Specified by:
unpinInternalin classorg.apache.openjpa.datacache.AbstractDataCache
-
writeLock
-
writeUnlock
-