net.sf.ehcache.hibernate.regions
Class EhcacheCollectionRegion
java.lang.Object
net.sf.ehcache.hibernate.regions.EhcacheDataRegion
net.sf.ehcache.hibernate.regions.EhcacheTransactionalDataRegion
net.sf.ehcache.hibernate.regions.EhcacheCollectionRegion
public class EhcacheCollectionRegion
- extends EhcacheTransactionalDataRegion
A collection region specific wrapper around an Ehcache instance.
This implementation returns Ehcache specific access strategy instances for all the non-transactional access types. Transactional access
is not supported.
- Author:
- Chris Dennis
Constructor Summary |
EhcacheCollectionRegion(Ehcache underlyingCache,
Settings settings,
CacheDataDescription metadata,
java.util.Properties properties)
Constructs an EhcacheCollectionRegion around the given underlying cache. |
Methods inherited from class net.sf.ehcache.hibernate.regions.EhcacheTransactionalDataRegion |
clear, get, getCacheDataDescription, isTransactionAware, locksAreIndependentOfCache, put, readLock, readUnlock, remove, writeLock, writeUnlock |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EhcacheCollectionRegion
public EhcacheCollectionRegion(Ehcache underlyingCache,
Settings settings,
CacheDataDescription metadata,
java.util.Properties properties)
- Constructs an EhcacheCollectionRegion around the given underlying cache.
buildAccessStrategy
public CollectionRegionAccessStrategy buildAccessStrategy(AccessType accessType)
throws CacheException
-
- Throws:
CacheException
true