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, settings
accessStrategyFactory, 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, writeUnlock
contains, destroy, getEhcache, getElementCountInMemory, getElementCountOnDisk, getName, getSizeInMemory, getTimeout, nextTimestamp, toMap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public 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.CollectionRegion
org.hibernate.cache.CacheException
Copyright © 2003-2013 Terracotta, Inc.. All Rights Reserved.