Top Description Methods
org.hibernate.cache

public Interface EntityRegion

extends TransactionalDataRegion
Known Direct Implementers
org.hibernate.cache.impl.bridge.EntityRegionAdapter
Imports
org.hibernate.cache.access.EntityRegionAccessStrategy, .AccessType

Defines the contract for a cache region which will specifically be used to store entity data.
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public EntityRegionAccessStrategy

Returns:

The appropriate strategy contract for accessing this region for the requested type of access.
buildAccessStrategy
(AccessType
The type of access strategy to build; never null.
accessType
)

Build an access strategy for the requested access type.

Inherited from org.hibernate.cache.TransactionalDataRegion:
getCacheDataDescriptionisTransactionAware

Method Detail

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

Build an access strategy for the requested access type.

Parameters
accessType:AccessType

The type of access strategy to build; never null.

Returns:EntityRegionAccessStrategy

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

Exceptions
CacheException:
Usually indicates mis-configuration.