public class EntityRegionAdapter extends BaseTransactionalDataRegionAdapter implements EntityRegion
EntityRegion
to Cache
.metadata
settings, underlyingCache
Constructor and Description |
---|
EntityRegionAdapter(Cache underlyingCache,
Settings settings,
CacheDataDescription metadata) |
Modifier and Type | Method and Description |
---|---|
EntityRegionAccessStrategy |
buildAccessStrategy(AccessType accessType)
Build an access strategy for the requested access type.
|
getCacheDataDescription, isTransactionAware
clear, contains, destroy, getElementCountInMemory, getElementCountOnDisk, getName, getSizeInMemory, getTimeout, nextTimestamp, toMap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCacheDataDescription, isTransactionAware
contains, destroy, getElementCountInMemory, getElementCountOnDisk, getName, getSizeInMemory, getTimeout, nextTimestamp, toMap
public EntityRegionAdapter(Cache underlyingCache, Settings settings, CacheDataDescription metadata)
public 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 © 2002-2015 Red Hat Middleware, LLC. All Rights Reserved