org.hibernate.cache.infinispan.entity
Class EntityRegionImpl

java.lang.Object
  extended by org.hibernate.cache.infinispan.impl.BaseRegion
      extended by org.hibernate.cache.infinispan.impl.BaseTransactionalDataRegion
          extended by org.hibernate.cache.infinispan.entity.EntityRegionImpl
All Implemented Interfaces:
EntityRegion, Region, TransactionalDataRegion

public class EntityRegionImpl
extends BaseTransactionalDataRegion
implements EntityRegion

Since:
3.5
Author:
Chris Bredesen, Galder ZamarreƱo

Field Summary
 
Fields inherited from class org.hibernate.cache.infinispan.impl.BaseRegion
address, cacheAdapter, currentView, invalidateState, invalidationMutex, replication, transactionManager
 
Constructor Summary
EntityRegionImpl(CacheAdapter cacheAdapter, String name, CacheDataDescription metadata, TransactionManager transactionManager, RegionFactory factory)
           
 
Method Summary
 EntityRegionAccessStrategy buildAccessStrategy(AccessType accessType)
          Build an access strategy for the requested access type.
 PutFromLoadValidator getPutFromLoadValidator()
           
 
Methods inherited from class org.hibernate.cache.infinispan.impl.BaseTransactionalDataRegion
getCacheDataDescription, isTransactionAware
 
Methods inherited from class org.hibernate.cache.infinispan.impl.BaseRegion
checkValid, contains, destroy, entryInvalidated, entryModified, get, getAddress, getCacheAdapter, getElementCountInMemory, getElementCountOnDisk, getName, getOwnerForPut, getSizeInMemory, getTimeout, handleEvictAllInvalidation, handleEvictAllModification, nextTimestamp, resume, start, suspend, 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
contains, destroy, getElementCountInMemory, getElementCountOnDisk, getName, getSizeInMemory, getTimeout, nextTimestamp, toMap
 

Constructor Detail

EntityRegionImpl

public EntityRegionImpl(CacheAdapter cacheAdapter,
                        String name,
                        CacheDataDescription metadata,
                        TransactionManager transactionManager,
                        RegionFactory factory)
Method Detail

buildAccessStrategy

public EntityRegionAccessStrategy buildAccessStrategy(AccessType accessType)
                                               throws CacheException
Description copied from interface: EntityRegion
Build an access strategy for the requested access type.

Specified by:
buildAccessStrategy in interface EntityRegion
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.

getPutFromLoadValidator

public PutFromLoadValidator getPutFromLoadValidator()


Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.