Class CoherenceStorageAccessImpl

java.lang.Object
com.oracle.coherence.hibernate.cache.v6.access.CoherenceStorageAccessImpl
All Implemented Interfaces:
CoherenceStorageAccess, org.hibernate.cache.spi.support.DomainDataStorageAccess, org.hibernate.cache.spi.support.StorageAccess

public class CoherenceStorageAccessImpl extends Object implements CoherenceStorageAccess
Implementation of CoherenceStorageAccess. Will delegation operations to CoherenceRegion.
Author:
Gunnar Hillert
  • Constructor Details

    • CoherenceStorageAccessImpl

      public CoherenceStorageAccessImpl(CoherenceRegion delegate)
  • Method Details

    • getFromCache

      public Object getFromCache(Object key, org.hibernate.engine.spi.SharedSessionContractImplementor session)
      Specified by:
      getFromCache in interface org.hibernate.cache.spi.support.StorageAccess
    • putIntoCache

      public void putIntoCache(Object key, Object value, org.hibernate.engine.spi.SharedSessionContractImplementor session)
      Specified by:
      putIntoCache in interface org.hibernate.cache.spi.support.StorageAccess
    • contains

      public boolean contains(Object key)
      Specified by:
      contains in interface org.hibernate.cache.spi.support.StorageAccess
    • evictData

      public void evictData()
      Specified by:
      evictData in interface org.hibernate.cache.spi.support.StorageAccess
    • evictData

      public void evictData(Object key)
      Specified by:
      evictData in interface org.hibernate.cache.spi.support.StorageAccess
    • release

      public void release()
      Specified by:
      release in interface org.hibernate.cache.spi.support.StorageAccess
    • afterUpdate

      public void afterUpdate(Object key, Object newValue, Object newVersion)
      Specified by:
      afterUpdate in interface CoherenceStorageAccess
    • unlockItem

      public void unlockItem(Object key, org.hibernate.cache.spi.access.SoftLock lock)
      Specified by:
      unlockItem in interface CoherenceStorageAccess
    • getDelegate

      public CoherenceRegion getDelegate()