public class EhcacheCollectionRegion extends EhcacheTransactionalDataRegion implements org.hibernate.cache.CollectionRegion
This implementation returns Ehcache specific access strategy instances for all the non-transactional access types. Transactional access is not supported.
metadata, settingsaccessStrategyFactory, cache| Constructor and Description |
|---|
EhcacheCollectionRegion(EhcacheAccessStrategyFactory accessStrategyFactory,
Ehcache underlyingCache,
org.hibernate.cfg.Settings settings,
org.hibernate.cache.CacheDataDescription metadata,
Properties properties)
Constructs an EhcacheCollectionRegion around the given underlying cache.
|
| Modifier and Type | Method and Description |
|---|---|
org.hibernate.cache.access.CollectionRegionAccessStrategy |
buildAccessStrategy(org.hibernate.cache.access.AccessType accessType) |
clear, get, getCacheDataDescription, getSettings, isTransactionAware, locksAreIndependentOfCache, put, putPinned, readLock, readUnlock, remove, writeLock, writeUnlockcontains, destroy, getEhcache, getElementCountInMemory, getElementCountOnDisk, getName, getSizeInMemory, getTimeout, nextTimestamp, toMapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic EhcacheCollectionRegion(EhcacheAccessStrategyFactory accessStrategyFactory, Ehcache underlyingCache, org.hibernate.cfg.Settings settings, org.hibernate.cache.CacheDataDescription metadata, Properties properties)
accessStrategyFactory - public org.hibernate.cache.access.CollectionRegionAccessStrategy buildAccessStrategy(org.hibernate.cache.access.AccessType accessType)
throws org.hibernate.cache.CacheException
buildAccessStrategy in interface org.hibernate.cache.CollectionRegionorg.hibernate.cache.CacheExceptionCopyright © 2003-2014 Terracotta, Inc.. All Rights Reserved.