org.terracotta.modules.ehcache.event
Class NonStopEventReplicator

java.lang.Object
  extended by org.terracotta.modules.ehcache.event.NonStopEventReplicator
All Implemented Interfaces:
Cloneable, CacheEventListener

public class NonStopEventReplicator
extends Object
implements CacheEventListener


Constructor Summary
NonStopEventReplicator(CacheEventListener delegate, ToolkitInstanceFactory toolkitInstanceFactory, NonstopConfiguration nonStopConfiguration)
           
 
Method Summary
 NonStopEventReplicator clone()
           
 void dispose()
           
 void notifyElementEvicted(Ehcache cache, Element element)
           
 void notifyElementExpired(Ehcache cache, Element element)
           
 void notifyElementPut(Ehcache cache, Element element)
           
 void notifyElementRemoved(Ehcache cache, Element element)
           
 void notifyElementUpdated(Ehcache cache, Element element)
           
 void notifyRemoveAll(Ehcache cache)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NonStopEventReplicator

public NonStopEventReplicator(CacheEventListener delegate,
                              ToolkitInstanceFactory toolkitInstanceFactory,
                              NonstopConfiguration nonStopConfiguration)
Method Detail

notifyElementRemoved

public void notifyElementRemoved(Ehcache cache,
                                 Element element)
                          throws CacheException
Specified by:
notifyElementRemoved in interface CacheEventListener
Throws:
CacheException

notifyElementPut

public void notifyElementPut(Ehcache cache,
                             Element element)
                      throws CacheException
Specified by:
notifyElementPut in interface CacheEventListener
Throws:
CacheException

notifyElementUpdated

public void notifyElementUpdated(Ehcache cache,
                                 Element element)
                          throws CacheException
Specified by:
notifyElementUpdated in interface CacheEventListener
Throws:
CacheException

notifyElementExpired

public void notifyElementExpired(Ehcache cache,
                                 Element element)
Specified by:
notifyElementExpired in interface CacheEventListener

notifyElementEvicted

public void notifyElementEvicted(Ehcache cache,
                                 Element element)
Specified by:
notifyElementEvicted in interface CacheEventListener

notifyRemoveAll

public void notifyRemoveAll(Ehcache cache)
Specified by:
notifyRemoveAll in interface CacheEventListener

dispose

public void dispose()
Specified by:
dispose in interface CacheEventListener

clone

public NonStopEventReplicator clone()
                             throws CloneNotSupportedException
Specified by:
clone in interface CacheEventListener
Overrides:
clone in class Object
Throws:
CloneNotSupportedException


Copyright © 2003-2013 Terracotta, Inc.. All Rights Reserved.