public class NonstopAccessStrategyFactory extends Object implements EhcacheAccessStrategyFactory
EhcacheAccessStrategyFactory
that takes care of Nonstop cache exceptions using
HibernateNonstopCacheExceptionHandler
Constructor and Description |
---|
NonstopAccessStrategyFactory(EhcacheAccessStrategyFactory actualFactory)
Constructor accepting the actual factory
|
Modifier and Type | Method and Description |
---|---|
org.hibernate.cache.access.CollectionRegionAccessStrategy |
createCollectionRegionAccessStrategy(EhcacheCollectionRegion collectionRegion,
org.hibernate.cache.access.AccessType accessType)
|
org.hibernate.cache.access.EntityRegionAccessStrategy |
createEntityRegionAccessStrategy(EhcacheEntityRegion entityRegion,
org.hibernate.cache.access.AccessType accessType)
|
public NonstopAccessStrategyFactory(EhcacheAccessStrategyFactory actualFactory)
actualFactory
- public org.hibernate.cache.access.EntityRegionAccessStrategy createEntityRegionAccessStrategy(EhcacheEntityRegion entityRegion, org.hibernate.cache.access.AccessType accessType)
createEntityRegionAccessStrategy
in interface EhcacheAccessStrategyFactory
EntityRegionAccessStrategy
public org.hibernate.cache.access.CollectionRegionAccessStrategy createCollectionRegionAccessStrategy(EhcacheCollectionRegion collectionRegion, org.hibernate.cache.access.AccessType accessType)
createCollectionRegionAccessStrategy
in interface EhcacheAccessStrategyFactory
CollectionRegionAccessStrategy
Copyright © 2003–2016 Terracotta, Inc.. All rights reserved.