org.hibernate.cache.jbc2.collection
Class CollectionRegionImpl

java.lang.Object
  extended by org.hibernate.cache.jbc2.BasicRegionAdapter
      extended by org.hibernate.cache.jbc2.TransactionalDataRegionAdapter
          extended by 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

Field Summary
static String TYPE
           
 
Fields inherited from class org.hibernate.cache.jbc2.TransactionalDataRegionAdapter
metadata
 
Fields inherited from class org.hibernate.cache.jbc2.BasicRegionAdapter
currentView, internalFqn, invalidateState, invalidationMutex, ITEM, jbcCache, log, memberId, regionFqn, regionName, regionRoot, regionRootMutex, replication, transactionManager
 
Constructor Summary
CollectionRegionImpl(org.jboss.cache.Cache jbcCache, String regionName, String regionPrefix, CacheDataDescription metadata)
           
 
Method Summary
 CollectionRegionAccessStrategy buildAccessStrategy(AccessType accessType)
           
protected  org.jboss.cache.Fqn<String> createRegionFqn(String regionName, String regionPrefix)
           
 
Methods inherited from class org.hibernate.cache.jbc2.TransactionalDataRegionAdapter
getCacheDataDescription, isTransactionAware
 
Methods inherited from class org.hibernate.cache.jbc2.BasicRegionAdapter
activateLocalClusterNode, checkValid, contains, deactivateLocalNode, destroy, ensureRegionRootExists, escapeRegionName, getCacheInstance, getElementCountInMemory, getElementCountOnDisk, getMemberId, getName, getNonLockingDataVersionOption, getRegionFqn, getSizeInMemory, getTimeout, getTypeFirstRegionFqn, getTypeLastRegionFqn, handleEvictAllInvalidation, handleEvictAllModification, nextTimestamp, nodeInvalidated, nodeModified, resume, suspend, suspendAndGet, toMap, viewChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.hibernate.cache.TransactionalDataRegion
getCacheDataDescription, isTransactionAware
 
Methods inherited from interface org.hibernate.cache.Region
destroy, getElementCountInMemory, getElementCountOnDisk, getName, getSizeInMemory, getTimeout, nextTimestamp, toMap
 

Field Detail

TYPE

public static final String TYPE
See Also:
Constant Field Values
Constructor Detail

CollectionRegionImpl

public CollectionRegionImpl(org.jboss.cache.Cache jbcCache,
                            String regionName,
                            String regionPrefix,
                            CacheDataDescription metadata)
Method Detail

buildAccessStrategy

public CollectionRegionAccessStrategy buildAccessStrategy(AccessType accessType)
                                                   throws CacheException
Specified by:
buildAccessStrategy in interface CollectionRegion
Throws:
CacheException

createRegionFqn

protected org.jboss.cache.Fqn<String> createRegionFqn(String regionName,
                                                      String regionPrefix)
Specified by:
createRegionFqn in class BasicRegionAdapter


Copyright © 2011 Hibernate.org. All Rights Reserved.