Class CollectionDataAccessImpl
java.lang.Object
org.infinispan.hibernate.cache.v62.impl.CollectionDataAccessImpl
- All Implemented Interfaces:
org.hibernate.cache.spi.access.CachedDomainDataAccess,org.hibernate.cache.spi.access.CollectionDataAccess
public class CollectionDataAccessImpl
extends Object
implements org.hibernate.cache.spi.access.CollectionDataAccess
-
Constructor Summary
ConstructorsConstructorDescriptionCollectionDataAccessImpl(DomainDataRegionImpl region, org.infinispan.hibernate.cache.commons.access.AccessDelegate delegate, org.hibernate.cache.spi.access.AccessType accessType) -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidvoidevictAll()generateCacheKey(Object id, org.hibernate.persister.collection.CollectionPersister persister, org.hibernate.engine.spi.SessionFactoryImplementor factory, String tenantIdentifier) org.hibernate.cache.spi.access.AccessTypegetCacheKeyId(Object cacheKey) org.hibernate.cache.spi.DomainDataRegionorg.hibernate.cache.spi.access.SoftLocklockItem(org.hibernate.engine.spi.SharedSessionContractImplementor session, Object key, Object version) org.hibernate.cache.spi.access.SoftLockbooleanputFromLoad(org.hibernate.engine.spi.SharedSessionContractImplementor session, Object key, Object value, Object version) booleanputFromLoad(org.hibernate.engine.spi.SharedSessionContractImplementor session, Object key, Object value, Object version, boolean minimalPutOverride) voidvoidremoveAll(org.hibernate.engine.spi.SharedSessionContractImplementor session) voidunlockItem(org.hibernate.engine.spi.SharedSessionContractImplementor session, Object key, org.hibernate.cache.spi.access.SoftLock lock) voidunlockRegion(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.access.CachedDomainDataAccess
contains, evict, evictAll, getAccessType, getRegion, lockRegion, removeAll, unlockRegion
-
Constructor Details
-
CollectionDataAccessImpl
public CollectionDataAccessImpl(DomainDataRegionImpl region, org.infinispan.hibernate.cache.commons.access.AccessDelegate delegate, org.hibernate.cache.spi.access.AccessType accessType)
-
-
Method Details
-
generateCacheKey
public Object generateCacheKey(Object id, org.hibernate.persister.collection.CollectionPersister persister, org.hibernate.engine.spi.SessionFactoryImplementor factory, String tenantIdentifier) - Specified by:
generateCacheKeyin interfaceorg.hibernate.cache.spi.access.CollectionDataAccess
-
getCacheKeyId
- Specified by:
getCacheKeyIdin interfaceorg.hibernate.cache.spi.access.CollectionDataAccess
-
evict
- Throws:
org.hibernate.cache.CacheException
-
evictAll
public void evictAll() throws org.hibernate.cache.CacheException- Throws:
org.hibernate.cache.CacheException
-
lockRegion
public org.hibernate.cache.spi.access.SoftLock lockRegion() throws org.hibernate.cache.CacheException- Throws:
org.hibernate.cache.CacheException
-
unlockRegion
public void unlockRegion(org.hibernate.cache.spi.access.SoftLock lock) throws org.hibernate.cache.CacheException - Throws:
org.hibernate.cache.CacheException
-
getAccessType
public org.hibernate.cache.spi.access.AccessType getAccessType() -
getRegion
public org.hibernate.cache.spi.DomainDataRegion getRegion() -
contains