public class JCacheNaturalIdRegion extends JCacheTransactionalDataRegion implements NaturalIdRegion
cache
Constructor and Description |
---|
JCacheNaturalIdRegion(javax.cache.Cache<java.lang.Object,java.lang.Object> cache,
CacheDataDescription metadata,
SessionFactoryOptions options) |
Modifier and Type | Method and Description |
---|---|
NaturalIdRegionAccessStrategy |
buildAccessStrategy(AccessType accessType)
Build an access strategy for the requested access type.
|
clear, get, getCacheDataDescription, getSessionFactoryOptions, isTransactionAware, put, putIfAbsent, remove, replace, supportedAccessTypes, throwIfAccessTypeUnsupported
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 JCacheNaturalIdRegion(javax.cache.Cache<java.lang.Object,java.lang.Object> cache, CacheDataDescription metadata, SessionFactoryOptions options)
public NaturalIdRegionAccessStrategy buildAccessStrategy(AccessType accessType) throws CacheException
NaturalIdRegion
buildAccessStrategy
in interface NaturalIdRegion
accessType
- The type of access strategy to build; never null.CacheException
- Usually indicates mis-configuration.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.