Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.hibernate.cache.impl.bridge.BaseRegionAdapter
org.hibernate.cache.impl.bridge.BaseTransactionalDataRegionAdapter
org.hibernate.cache.impl.bridge.CollectionRegionAdapter
public class CollectionRegionAdapter
implements CollectionRegion
CollectionRegion
to Cache
.
Field Summary |
Fields inherited from class org.hibernate.cache.impl.bridge.BaseTransactionalDataRegionAdapter | |
metadata |
Fields inherited from class org.hibernate.cache.impl.bridge.BaseRegionAdapter | |
settings , underlyingCache |
Constructor Summary | |
|
Method Summary | |
CollectionRegionAccessStrategy |
|
Methods inherited from class org.hibernate.cache.impl.bridge.BaseTransactionalDataRegionAdapter | |
getCacheDataDescription , isTransactionAware |
Methods inherited from class org.hibernate.cache.impl.bridge.BaseRegionAdapter | |
clear , destroy , getElementCountInMemory , getElementCountOnDisk , getName , getSizeInMemory , getTimeout , nextTimestamp , toMap |
public CollectionRegionAdapter(Cache underlyingCache, Settings settings, CacheDataDescription metadata)
public CollectionRegionAccessStrategy buildAccessStrategy(AccessType accessType) throws CacheException
Build an access strategy for the requested access type.
- Specified by:
- buildAccessStrategy in interface CollectionRegion
- Parameters:
accessType
- The type of access strategy to build; never null.
- Returns:
- The appropriate strategy contract for accessing this region for the requested type of access.
- Throws:
CacheException
- Usually indicates mis-configuration.