public class ClusteredEventReplicator extends Object implements CacheEventListener
| Constructor and Description |
|---|
ClusteredEventReplicator(Ehcache cache,
String fullyQualifiedEhcacheName,
org.terracotta.toolkit.events.ToolkitNotifier<CacheEventNotificationMsg> toolkitNotifier,
ClusteredEventReplicatorFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
ClusteredEventReplicator |
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) |
public ClusteredEventReplicator(Ehcache cache, String fullyQualifiedEhcacheName, org.terracotta.toolkit.events.ToolkitNotifier<CacheEventNotificationMsg> toolkitNotifier, ClusteredEventReplicatorFactory factory)
public void notifyElementRemoved(Ehcache cache, Element element) throws CacheException
notifyElementRemoved in interface CacheEventListenerCacheExceptionpublic void notifyElementPut(Ehcache cache, Element element) throws CacheException
notifyElementPut in interface CacheEventListenerCacheExceptionpublic void notifyElementUpdated(Ehcache cache, Element element) throws CacheException
notifyElementUpdated in interface CacheEventListenerCacheExceptionpublic void notifyElementExpired(Ehcache cache, Element element)
notifyElementExpired in interface CacheEventListenerpublic void notifyElementEvicted(Ehcache cache, Element element)
notifyElementEvicted in interface CacheEventListenerpublic void notifyRemoveAll(Ehcache cache)
notifyRemoveAll in interface CacheEventListenerpublic void dispose()
dispose in interface CacheEventListenerpublic ClusteredEventReplicator clone() throws CloneNotSupportedException
clone in interface CacheEventListenerclone in class ObjectCloneNotSupportedExceptionCopyright © 2003–2024 Terracotta, Inc.. All rights reserved.