Top Description Constructors Methods
net.sf.ehcache.hibernate.strategy

public Class ReadWriteEhcacheCollectionRegionAccessStrategy

extends AbstractReadWriteEhcacheAccessStrategy<EhcacheCollectionRegion>
implements CollectionRegionAccessStrategy
Class Inheritance
All Implemented Interfaces
org.hibernate.cache.access.CollectionRegionAccessStrategy
Imports
net.sf.ehcache.hibernate.regions.EhcacheCollectionRegion, org.hibernate.cache.CollectionRegion, org.hibernate.cache.access.CollectionRegionAccessStrategy, org.hibernate.cfg.Settings

Ehcache specific read/write collection region access strategy
Author
Chris Dennis

Constructor Summary

AccessConstructor and Description
public
ReadWriteEhcacheCollectionRegionAccessStrategy(EhcacheCollectionRegion region, Settings settings)

Create a read/write access strategy accessing the given collection region.

Method Summary

Modifier and TypeMethod and Description
public CollectionRegion
getRegion()

Implements org.hibernate.cache.access.CollectionRegionAccessStrategy.getRegion.

Get the wrapped collection cache region
Inherited from net.sf.ehcache.hibernate.strategy.AbstractReadWriteEhcacheAccessStrategy:
decrementLockgethandleMissingLocklockItemputFromLoadunlockItem

Constructor Detail

ReadWriteEhcacheCollectionRegionAccessStrategyback to summary
public ReadWriteEhcacheCollectionRegionAccessStrategy(EhcacheCollectionRegion region, Settings settings)

Create a read/write access strategy accessing the given collection region.

Method Detail

getRegionback to summary
public CollectionRegion getRegion()

Implements org.hibernate.cache.access.CollectionRegionAccessStrategy.getRegion.

Doc from org.hibernate.cache.access.CollectionRegionAccessStrategy.getRegion.

Get the wrapped collection cache region

Returns:CollectionRegion

The underlying region