public class EntityRegionImpl extends BaseTransactionalDataRegion implements EntityRegion
BaseTransactionalDataRegion.Strategy
cache, factory, invalidations, lastRegionInvalidation, localAndSkipLoadCache, name, tm
Constructor and Description |
---|
EntityRegionImpl(org.infinispan.AdvancedCache cache,
String name,
TransactionManager transactionManager,
CacheDataDescription metadata,
InfinispanRegionFactory factory,
CacheKeysFactory cacheKeysFactory)
Construct a entity region
|
Modifier and Type | Method and Description |
---|---|
EntityRegionAccessStrategy |
buildAccessStrategy(AccessType accessType)
Build an access strategy for the requested access type.
|
contains, createAccessDelegate, getCacheDataDescription, getCacheKeysFactory, getLastRegionInvalidation, getTombstoneExpiration, isRegionAccessStrategyEnabled, prepareForValidation, prepareForVersionedEntries, runInvalidation, toMap
beginInvalidation, checkAccessType, checkValid, destroy, endInvalidation, getCache, getCurrentTransaction, getElementCountInMemory, getElementCountOnDisk, getName, getRegionFactory, getSizeInMemory, getTimeout, getTransactionManager, invalidateRegion, isTransactionAware, nextTimestamp, resume, suspend
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, TransactionManager transactionManager, CacheDataDescription metadata, InfinispanRegionFactory factory, CacheKeysFactory cacheKeysFactory)
cache
- instance to store entity instancesname
- of entity typetransactionManager
- metadata
- for the entity typefactory
- for the regioncacheKeysFactory
- factory for cache keyspublic 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.Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.