public class NaturalIdRegionImpl extends BaseTransactionalDataRegion implements NaturalIdRegion
cache
Constructor and Description |
---|
NaturalIdRegionImpl(org.infinispan.AdvancedCache cache,
String name,
CacheDataDescription metadata,
RegionFactory factory)
Constructor for the natural id region.
|
Modifier and Type | Method and Description |
---|---|
NaturalIdRegionAccessStrategy |
buildAccessStrategy(AccessType accessType)
Build an access strategy for the requested access type.
|
PutFromLoadValidator |
getPutFromLoadValidator() |
getCacheDataDescription
checkValid, contains, destroy, getCache, getElementCountInMemory, getElementCountOnDisk, getName, getSizeInMemory, getTimeout, getTransactionManager, invalidateRegion, isRegionInvalidatedInCurrentTx, isTransactionAware, isValid, nextTimestamp, resume, suspend, toMap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCacheDataDescription, isTransactionAware
contains, destroy, getElementCountInMemory, getElementCountOnDisk, getName, getSizeInMemory, getTimeout, nextTimestamp, toMap
public NaturalIdRegionImpl(org.infinispan.AdvancedCache cache, String name, CacheDataDescription metadata, RegionFactory factory)
cache
- instance to store natural idsname
- of natural id regionmetadata
- for the natural id regionfactory
- for the natural id regionpublic NaturalIdRegionAccessStrategy buildAccessStrategy(AccessType accessType) throws CacheException
NaturalIdRegion
buildAccessStrategy
in interface NaturalIdRegion
accessType
- The type of access strategy to build; never null.CacheException
- Usually indicates mis-configuration.public PutFromLoadValidator getPutFromLoadValidator()
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.