Package org.hibernate.cache.spi.support
Class CollectionNonStrictReadWriteAccess
java.lang.Object
org.hibernate.cache.spi.support.AbstractCachedDomainDataAccess
org.hibernate.cache.spi.support.AbstractCollectionDataAccess
org.hibernate.cache.spi.support.CollectionNonStrictReadWriteAccess
- All Implemented Interfaces:
CachedDomainDataAccess
,CollectionDataAccess
,AbstractDomainDataRegion.Destructible
Standard support for
CollectionDataAccess
using the AccessType.NONSTRICT_READ_WRITE
access type.-
Constructor Summary
ConstructorsConstructorDescriptionCollectionNonStrictReadWriteAccess
(DomainDataRegion region, CacheKeysFactory keysFactory, DomainDataStorageAccess storageAccess, CollectionDataCachingConfig config) -
Method Summary
Modifier and TypeMethodDescriptionThe type of access implementedvoid
unlockItem
(SharedSessionContractImplementor session, Object key, SoftLock lock) Called when we have finished the attempted update/delete (which may or may not have been successful), after transaction completion.Methods inherited from class org.hibernate.cache.spi.support.AbstractCollectionDataAccess
generateCacheKey, getCacheKeyId, lockItem, lockRegion, unlockRegion
Methods inherited from class org.hibernate.cache.spi.support.AbstractCachedDomainDataAccess
clearCache, contains, destroy, evict, evictAll, get, getRegion, getStorageAccess, putFromLoad, putFromLoad, remove, removeAll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.cache.spi.access.CachedDomainDataAccess
contains, evict, evictAll, get, getRegion, putFromLoad, putFromLoad, remove, removeAll
-
Constructor Details
-
CollectionNonStrictReadWriteAccess
public CollectionNonStrictReadWriteAccess(DomainDataRegion region, CacheKeysFactory keysFactory, DomainDataStorageAccess storageAccess, CollectionDataCachingConfig config)
-
-
Method Details
-
getAccessType
Description copied from interface:CachedDomainDataAccess
The type of access implemented
-