org.hibernate.cache.infinispan.naturalid
Class NaturalIdRegionImpl
java.lang.Object
org.hibernate.cache.infinispan.impl.BaseRegion
org.hibernate.cache.infinispan.impl.BaseTransactionalDataRegion
org.hibernate.cache.infinispan.naturalid.NaturalIdRegionImpl
- All Implemented Interfaces:
- NaturalIdRegion, Region, TransactionalDataRegion
public class NaturalIdRegionImpl
- extends BaseTransactionalDataRegion
- implements NaturalIdRegion
Natural ID cache region
Fields inherited from class org.hibernate.cache.infinispan.impl.BaseRegion |
cache |
Methods inherited from class org.hibernate.cache.infinispan.impl.BaseRegion |
checkValid, contains, destroy, getCache, getElementCountInMemory, getElementCountOnDisk, getName, getSizeInMemory, getTimeout, getTransactionManager, invalidateRegion, isTransactionAware, isValid, nextTimestamp, resume, suspend, toMap |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NaturalIdRegionImpl
public NaturalIdRegionImpl(org.infinispan.AdvancedCache cache,
String name,
CacheDataDescription metadata,
RegionFactory factory)
buildAccessStrategy
public NaturalIdRegionAccessStrategy buildAccessStrategy(AccessType accessType)
throws CacheException
- Description copied from interface:
NaturalIdRegion
- Build an access strategy for the requested access type.
- Specified by:
buildAccessStrategy
in interface NaturalIdRegion
- 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-2013 Red Hat, Inc. All Rights Reserved.