Package org.hibernate.cache.spi.support
Class NaturalIdReadOnlyAccess
java.lang.Object
org.hibernate.cache.spi.support.AbstractCachedDomainDataAccess
org.hibernate.cache.spi.support.AbstractNaturalIdDataAccess
org.hibernate.cache.spi.support.NaturalIdReadOnlyAccess
- All Implemented Interfaces:
CachedDomainDataAccess,NaturalIdDataAccess,AbstractDomainDataRegion.Destructible
Standard support for
NaturalIdDataAccess
using the AccessType.READ_ONLY access type.-
Constructor Summary
ConstructorsConstructorDescriptionNaturalIdReadOnlyAccess(DomainDataRegion region, CacheKeysFactory keysFactory, DomainDataStorageAccess storageAccess, NaturalIdDataCachingConfig config) -
Method Summary
Modifier and TypeMethodDescriptionThe type of access implementedvoidunlockItem(SharedSessionContractImplementor session, Object key, SoftLock lock) Notify that an attempt to update or delete the keyed object has completed, with or without success, after transaction completion.Methods inherited from class org.hibernate.cache.spi.support.AbstractNaturalIdDataAccess
afterInsert, afterUpdate, generateCacheKey, getNaturalIdValues, insert, lockItem, lockRegion, unlockRegion, updateMethods inherited from class org.hibernate.cache.spi.support.AbstractCachedDomainDataAccess
clearCache, contains, destroy, evict, evictAll, get, getRegion, getStorageAccess, putFromLoad, putFromLoad, remove, removeAllMethods 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, get, getRegion, putFromLoad, putFromLoad, remove, removeAll
-
Constructor Details
-
NaturalIdReadOnlyAccess
public NaturalIdReadOnlyAccess(DomainDataRegion region, CacheKeysFactory keysFactory, DomainDataStorageAccess storageAccess, NaturalIdDataCachingConfig config)
-
-
Method Details
-
getAccessType
Description copied from interface:CachedDomainDataAccessThe type of access implemented
-