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() |
getCacheDataDescriptioncheckValid, contains, destroy, getCache, getElementCountInMemory, getElementCountOnDisk, getName, getSizeInMemory, getTimeout, getTransactionManager, invalidateRegion, isRegionInvalidatedInCurrentTx, isTransactionAware, isValid, nextTimestamp, resume, suspend, toMapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCacheDataDescription, isTransactionAwarecontains, destroy, getElementCountInMemory, getElementCountOnDisk, getName, getSizeInMemory, getTimeout, nextTimestamp, toMappublic 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
NaturalIdRegionbuildAccessStrategy in interface NaturalIdRegionaccessType - 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.