public class CollectionRegionImpl extends BaseTransactionalDataRegion implements CollectionRegion
BaseTransactionalDataRegion.Strategy
cache, factory, invalidations, lastRegionInvalidation, localAndSkipLoadCache, name, tm
Constructor and Description |
---|
CollectionRegionImpl(org.infinispan.AdvancedCache cache,
java.lang.String name,
javax.transaction.TransactionManager transactionManager,
CacheDataDescription metadata,
InfinispanRegionFactory factory,
CacheKeysFactory cacheKeysFactory)
Construct a collection region
|
Modifier and Type | Method and Description |
---|---|
CollectionRegionAccessStrategy |
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 CollectionRegionImpl(org.infinispan.AdvancedCache cache, java.lang.String name, javax.transaction.TransactionManager transactionManager, CacheDataDescription metadata, InfinispanRegionFactory factory, CacheKeysFactory cacheKeysFactory)
cache
- instance to store collection instancesname
- of collection typetransactionManager
- metadata
- for the collection typefactory
- for the regioncacheKeysFactory
- factory for cache keyspublic CollectionRegionAccessStrategy buildAccessStrategy(AccessType accessType) throws CacheException
CollectionRegion
buildAccessStrategy
in interface CollectionRegion
accessType
- The type of access strategy to build; never null.CacheException
- Usually indicates mis-configuration.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.