public class JCacheEntityRegion extends JCacheTransactionalDataRegion implements EntityRegion
cache| Constructor and Description |
|---|
JCacheEntityRegion(javax.cache.Cache<java.lang.Object,java.lang.Object> cache,
CacheDataDescription metadata,
SessionFactoryOptions options) |
| Modifier and Type | Method and Description |
|---|---|
EntityRegionAccessStrategy |
buildAccessStrategy(AccessType accessType)
Build an access strategy for the requested access type.
|
protected EntityRegionAccessStrategy |
createTransactionalEntityRegionAccessStrategy() |
clear, get, getCacheDataDescription, getSessionFactoryOptions, isTransactionAware, put, putIfAbsent, remove, replace, supportedAccessTypes, throwIfAccessTypeUnsupportedcontains, destroy, getElementCountInMemory, getElementCountOnDisk, getName, getSizeInMemory, getTimeout, nextTimestamp, toMapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCacheDataDescription, isTransactionAwarecontains, destroy, getElementCountInMemory, getElementCountOnDisk, getName, getSizeInMemory, getTimeout, nextTimestamp, toMappublic JCacheEntityRegion(javax.cache.Cache<java.lang.Object,java.lang.Object> cache,
CacheDataDescription metadata,
SessionFactoryOptions options)
public EntityRegionAccessStrategy buildAccessStrategy(AccessType accessType) throws CacheException
EntityRegionbuildAccessStrategy in interface EntityRegionaccessType - The type of access strategy to build; never null.CacheException - Usually indicates mis-configuration.protected EntityRegionAccessStrategy createTransactionalEntityRegionAccessStrategy()
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.