Package org.hibernate.cache.spi.support
Class CollectionReadOnlyAccess
- java.lang.Object
-
- org.hibernate.cache.spi.support.AbstractCachedDomainDataAccess
-
- org.hibernate.cache.spi.support.AbstractCollectionDataAccess
-
- org.hibernate.cache.spi.support.CollectionReadOnlyAccess
-
- All Implemented Interfaces:
CachedDomainDataAccess
,CollectionDataAccess
,AbstractDomainDataRegion.Destructible
public class CollectionReadOnlyAccess extends AbstractCollectionDataAccess
Standard support forCollectionDataAccess
using theAccessType.READ_ONLY
access type.
-
-
Constructor Summary
Constructors Constructor Description CollectionReadOnlyAccess(DomainDataRegion region, CacheKeysFactory keysFactory, DomainDataStorageAccess storageAccess, CollectionDataCachingConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessType
getAccessType()
The type of access implemented-
Methods inherited from class org.hibernate.cache.spi.support.AbstractCollectionDataAccess
generateCacheKey, getCacheKeyId, lockItem, lockRegion, unlockItem, 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 Detail
-
CollectionReadOnlyAccess
public CollectionReadOnlyAccess(DomainDataRegion region, CacheKeysFactory keysFactory, DomainDataStorageAccess storageAccess, CollectionDataCachingConfig config)
-
-
Method Detail
-
getAccessType
public AccessType getAccessType()
Description copied from interface:CachedDomainDataAccess
The type of access implemented
-
-