ehcache

net.sf.ehcache.hibernate.nonstop
Class NonstopAccessStrategyFactory

java.lang.Object
  extended by net.sf.ehcache.hibernate.nonstop.NonstopAccessStrategyFactory
All Implemented Interfaces:
EhcacheAccessStrategyFactory

public class NonstopAccessStrategyFactory
extends Object
implements EhcacheAccessStrategyFactory

Implementation of EhcacheAccessStrategyFactory that takes care of Nonstop cache exceptions using HibernateNonstopCacheExceptionHandler

Author:
Abhishek Sanoujam

Constructor Summary
NonstopAccessStrategyFactory(EhcacheAccessStrategyFactory actualFactory)
          Constructor accepting the actual factory
 
Method Summary
 CollectionRegionAccessStrategy createCollectionRegionAccessStrategy(EhcacheCollectionRegion collectionRegion, AccessType accessType)
          Create CollectionRegionAccessStrategy for the input EhcacheCollectionRegion and AccessType
 EntityRegionAccessStrategy createEntityRegionAccessStrategy(EhcacheEntityRegion entityRegion, AccessType accessType)
          Create EntityRegionAccessStrategy for the input EhcacheEntityRegion and AccessType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NonstopAccessStrategyFactory

public NonstopAccessStrategyFactory(EhcacheAccessStrategyFactory actualFactory)
Constructor accepting the actual factory

Parameters:
actualFactory -
Method Detail

createEntityRegionAccessStrategy

public EntityRegionAccessStrategy createEntityRegionAccessStrategy(EhcacheEntityRegion entityRegion,
                                                                   AccessType accessType)
Create EntityRegionAccessStrategy for the input EhcacheEntityRegion and AccessType

Specified by:
createEntityRegionAccessStrategy in interface EhcacheAccessStrategyFactory
Returns:
the created EntityRegionAccessStrategy

createCollectionRegionAccessStrategy

public CollectionRegionAccessStrategy createCollectionRegionAccessStrategy(EhcacheCollectionRegion collectionRegion,
                                                                           AccessType accessType)
Create CollectionRegionAccessStrategy for the input EhcacheCollectionRegion and AccessType

Specified by:
createCollectionRegionAccessStrategy in interface EhcacheAccessStrategyFactory
Returns:
the created CollectionRegionAccessStrategy

ehcache

Copyright 2001-2014, Terracotta, Inc.