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

public class OpenJPAJCacheDataCache extends org.apache.openjpa.datacache.AbstractDataCache
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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    protected org.apache.openjpa.datacache.DataCachePCData
     
    void
    initialize(org.apache.openjpa.datacache.DataCacheManager manager)
     
    protected boolean
     
    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
     
    protected boolean
     
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • initialize

      public void initialize(org.apache.openjpa.datacache.DataCacheManager manager)
      Specified by:
      initialize in interface org.apache.openjpa.datacache.DataCache
      Overrides:
      initialize in class org.apache.openjpa.datacache.AbstractDataCache
    • getInternal

      protected org.apache.openjpa.datacache.DataCachePCData getInternal(Object oid)
      Specified by:
      getInternal in class org.apache.openjpa.datacache.AbstractDataCache
    • putInternal

      protected org.apache.openjpa.datacache.DataCachePCData putInternal(Object oid, org.apache.openjpa.datacache.DataCachePCData pc)
      Specified by:
      putInternal in class org.apache.openjpa.datacache.AbstractDataCache
    • removeInternal

      protected org.apache.openjpa.datacache.DataCachePCData removeInternal(Object oid)
      Specified by:
      removeInternal in class org.apache.openjpa.datacache.AbstractDataCache
    • removeAllInternal

      protected void removeAllInternal(Class<?> cls, boolean subclasses)
      Specified by:
      removeAllInternal in class org.apache.openjpa.datacache.AbstractDataCache
    • clearInternal

      protected void clearInternal()
      Specified by:
      clearInternal in class org.apache.openjpa.datacache.AbstractDataCache
    • pinInternal

      protected boolean pinInternal(Object oid)
      Specified by:
      pinInternal in class org.apache.openjpa.datacache.AbstractDataCache
    • unpinInternal

      protected boolean unpinInternal(Object oid)
      Specified by:
      unpinInternal in class org.apache.openjpa.datacache.AbstractDataCache
    • writeLock

      public void writeLock()
    • writeUnlock

      public void writeUnlock()