public class EntityRegionImpl extends BaseTransactionalDataRegion implements EntityRegion
cache
Constructor and Description |
---|
EntityRegionImpl(org.infinispan.AdvancedCache cache,
String name,
CacheDataDescription metadata,
RegionFactory factory)
Construct a entity region
|
Modifier and Type | Method and Description |
---|---|
EntityRegionAccessStrategy |
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 EntityRegionImpl(org.infinispan.AdvancedCache cache, String name, CacheDataDescription metadata, RegionFactory factory)
cache
- instance to store entity instancesname
- of entity typemetadata
- for the entity typefactory
- for the regionpublic EntityRegionAccessStrategy buildAccessStrategy(AccessType accessType) throws CacheException
EntityRegion
buildAccessStrategy
in interface EntityRegion
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.