Class CoherenceStorageAccessImpl
- java.lang.Object
-
- com.oracle.coherence.hibernate.cache.v53.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
- Author:
- Gunnar Hillert
-
-
Constructor Summary
Constructors Constructor Description CoherenceStorageAccessImpl(CoherenceRegion delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterUpdate(Object key, Object newValue, Object newVersion)
boolean
contains(Object key)
void
evictData()
void
evictData(Object key)
CoherenceRegion
getDelegate()
Object
getFromCache(Object key, org.hibernate.engine.spi.SharedSessionContractImplementor session)
void
putIntoCache(Object key, Object value, org.hibernate.engine.spi.SharedSessionContractImplementor session)
void
release()
void
unlockItem(Object key, org.hibernate.cache.spi.access.SoftLock lock)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Constructor Detail
-
CoherenceStorageAccessImpl
public CoherenceStorageAccessImpl(CoherenceRegion delegate)
-
-
Method Detail
-
getFromCache
public Object getFromCache(Object key, org.hibernate.engine.spi.SharedSessionContractImplementor session)
- Specified by:
getFromCache
in interfaceorg.hibernate.cache.spi.support.StorageAccess
-
putIntoCache
public void putIntoCache(Object key, Object value, org.hibernate.engine.spi.SharedSessionContractImplementor session)
- Specified by:
putIntoCache
in interfaceorg.hibernate.cache.spi.support.StorageAccess
-
contains
public boolean contains(Object key)
- Specified by:
contains
in interfaceorg.hibernate.cache.spi.support.StorageAccess
-
evictData
public void evictData()
- Specified by:
evictData
in interfaceorg.hibernate.cache.spi.support.StorageAccess
-
evictData
public void evictData(Object key)
- Specified by:
evictData
in interfaceorg.hibernate.cache.spi.support.StorageAccess
-
release
public void release()
- Specified by:
release
in interfaceorg.hibernate.cache.spi.support.StorageAccess
-
afterUpdate
public void afterUpdate(Object key, Object newValue, Object newVersion)
- Specified by:
afterUpdate
in interfaceCoherenceStorageAccess
-
unlockItem
public void unlockItem(Object key, org.hibernate.cache.spi.access.SoftLock lock)
- Specified by:
unlockItem
in interfaceCoherenceStorageAccess
-
getDelegate
public CoherenceRegion getDelegate()
-
-