org.hibernate.cache.impl.bridge
Class EntityRegionAdapter
java.lang.Object
org.hibernate.cache.impl.bridge.BaseRegionAdapter
org.hibernate.cache.impl.bridge.BaseTransactionalDataRegionAdapter
org.hibernate.cache.impl.bridge.EntityRegionAdapter
- All Implemented Interfaces:
- EntityRegion, Region, TransactionalDataRegion
public class EntityRegionAdapter
- extends BaseTransactionalDataRegionAdapter
- implements EntityRegion
Adapter specifically bridging EntityRegion
to Cache
.
- Author:
- Steve Ebersole
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityRegionAdapter
public EntityRegionAdapter(Cache underlyingCache,
Settings settings,
CacheDataDescription metadata)
buildAccessStrategy
public EntityRegionAccessStrategy buildAccessStrategy(AccessType accessType)
throws CacheException
- Description copied from interface:
EntityRegion
- Build an access strategy for the requested access type.
- Specified by:
buildAccessStrategy
in interface EntityRegion
- Parameters:
accessType
- The type of access strategy to build; never null.
- Returns:
- The appropriate strategy contract for accessing this region
for the requested type of access.
- Throws:
CacheException
- Usually indicates mis-configuration.
Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.