Top Description Fields Constructors Methods
org.hibernate.cache.impl.bridge

public Class CollectionRegionAdapter

extends BaseTransactionalDataRegionAdapter
implements CollectionRegion
Class Inheritance
All Implemented Interfaces
org.hibernate.cache.CollectionRegion, org.hibernate.cache.TransactionalDataRegion, org.hibernate.cache.Region
Imports
org.slf4j.Logger, .LoggerFactory, org.hibernate.cache.CollectionRegion, .Cache, .CacheDataDescription, .OptimisticCache, .CacheException, .CacheConcurrencyStrategy, .TransactionalCache, .ReadWriteCache, .NonstrictReadWriteCache, .ReadOnlyCache, org.hibernate.cache.access.CollectionRegionAccessStrategy, .AccessType, org.hibernate.cfg.Settings

Adapter specifically bridging CollectionRegion to Cache.
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private static final Logger
Inherited from org.hibernate.cache.impl.bridge.BaseTransactionalDataRegionAdapter:
metadata

Constructor Summary

AccessConstructor and Description
public
CollectionRegionAdapter(Cache underlyingCache, Settings settings, CacheDataDescription metadata)

Deprecated as a consequence of Cache being deprecated.

Method Summary

Modifier and TypeMethod and Description
public CollectionRegionAccessStrategy
buildAccessStrategy(AccessType
The type of access strategy to build; never null.
accessType
)

Implements org.hibernate.cache.CollectionRegion.buildAccessStrategy.

Build an access strategy for the requested access type.
Inherited from org.hibernate.cache.impl.bridge.BaseTransactionalDataRegionAdapter:
getCacheDataDescriptionisTransactionAware

Field Detail

logback to summary
private static final Logger log

Constructor Detail

CollectionRegionAdapterback to summary
public CollectionRegionAdapter(Cache underlyingCache, Settings settings, CacheDataDescription metadata)

Deprecated

as a consequence of Cache being deprecated. See corresponding docs for further information.

Method Detail

buildAccessStrategyback to summary
public CollectionRegionAccessStrategy buildAccessStrategy(AccessType accessType) throws CacheException

Implements org.hibernate.cache.CollectionRegion.buildAccessStrategy.

Doc from org.hibernate.cache.CollectionRegion.buildAccessStrategy.

Build an access strategy for the requested access type.

Parameters
accessType:AccessType

The type of access strategy to build; never null.

Returns:CollectionRegionAccessStrategy

The appropriate strategy contract for accessing this region for the requested type of access.

Exceptions
CacheException:
Usually indicates mis-configuration.