org.hibernate.cache.jbc2.collection
Class CollectionRegionImpl
java.lang.Object
org.hibernate.cache.jbc2.BasicRegionAdapter
org.hibernate.cache.jbc2.TransactionalDataRegionAdapter
org.hibernate.cache.jbc2.collection.CollectionRegionImpl
- All Implemented Interfaces:
- CollectionRegion, Region, TransactionalDataRegion
public class CollectionRegionImpl
- extends TransactionalDataRegionAdapter
- implements CollectionRegion
Defines the behavior of the collection cache regions for JBossCache 2.x.
- Author:
- Steve Ebersole
Methods inherited from class org.hibernate.cache.jbc2.BasicRegionAdapter |
activateLocalClusterNode, deactivateLocalNode, destroy, ensureRegionRootExists, escapeRegionName, getCacheInstance, getElementCountInMemory, getElementCountOnDisk, getName, getNonLockingDataVersionOption, getRegionFqn, getSizeInMemory, getTimeout, getTypeFirstRegionFqn, getTypeLastRegionFqn, nextTimestamp, resume, suspend, suspendAndGet, toMap |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
CollectionRegionImpl
public CollectionRegionImpl(org.jboss.cache.Cache jbcCache,
String regionName,
String regionPrefix,
CacheDataDescription metadata)
buildAccessStrategy
public CollectionRegionAccessStrategy buildAccessStrategy(AccessType accessType)
throws CacheException
- Description copied from interface:
CollectionRegion
- 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.
createRegionFqn
protected createRegionFqn(String regionName,
String regionPrefix)
- Specified by:
createRegionFqn
in class BasicRegionAdapter
Copyright © null-null Red Hat Middleware, LLC. All Rights Reserved