java.lang.Object
com.hazelcast.hibernate.HazelcastStorageAccessImpl
- All Implemented Interfaces:
HazelcastStorageAccess,org.hibernate.cache.spi.support.DomainDataStorageAccess,org.hibernate.cache.spi.support.StorageAccess
A custom
DomainDataStorageAccess implementation delegating
to one of Hazelcast RegionCache implementations.-
Method Summary
Modifier and TypeMethodDescriptionvoidafterUpdate(Object key, Object newValue, Object newVersion) booleanvoidvoidgetFromCache(Object key, org.hibernate.engine.spi.SharedSessionContractImplementor session) voidputIntoCache(Object key, Object value, org.hibernate.engine.spi.SharedSessionContractImplementor session) voidrelease()voidunlockItem(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, waitMethods inherited from interface org.hibernate.cache.spi.support.DomainDataStorageAccess
putFromLoadMethods inherited from interface org.hibernate.cache.spi.support.StorageAccess
clearCache, removeFromCache
-
Method Details
-
afterUpdate
- Specified by:
afterUpdatein interfaceHazelcastStorageAccess
-
contains
- Specified by:
containsin interfaceorg.hibernate.cache.spi.support.StorageAccess
-
evictData
public void evictData() throws org.hibernate.cache.CacheException- Specified by:
evictDatain interfaceorg.hibernate.cache.spi.support.StorageAccess- Throws:
org.hibernate.cache.CacheException
-
evictData
- Specified by:
evictDatain interfaceorg.hibernate.cache.spi.support.StorageAccess- Throws:
org.hibernate.cache.CacheException
-
release
public void release()- Specified by:
releasein interfaceorg.hibernate.cache.spi.support.StorageAccess
-
unlockItem
- Specified by:
unlockItemin interfaceHazelcastStorageAccess
-