Class RemoteClusterListener
- java.lang.Object
-
- org.infinispan.notifications.cachelistener.cluster.RemoteClusterListener
-
@ThreadSafe public class RemoteClusterListener extends java.lang.ObjectA listener that installed locally on each node when a cluster listener is installed on a given node.- Since:
- 7.0
- Author:
- wburns
-
-
Constructor Summary
Constructors Constructor Description RemoteClusterListener(java.util.UUID id, Address origin, DistributedExecutorService distExecService, CacheNotifier cacheNotifier, CacheManagerNotifier cacheManagerNotifier, ClusterEventManager eventManager, boolean sync)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.UUIDgetId()AddressgetOwnerAddress()voidhandleClusterEvents(CacheEntryEvent event)voidremoveListener()voidtransactionCompleted(TransactionCompletedEvent event)voidviewChange(ViewChangedEvent event)
-
-
-
Constructor Detail
-
RemoteClusterListener
public RemoteClusterListener(java.util.UUID id, Address origin, DistributedExecutorService distExecService, CacheNotifier cacheNotifier, CacheManagerNotifier cacheManagerNotifier, ClusterEventManager eventManager, boolean sync)
-
-
Method Detail
-
getId
public java.util.UUID getId()
-
getOwnerAddress
public Address getOwnerAddress()
-
viewChange
public void viewChange(ViewChangedEvent event)
-
removeListener
public void removeListener()
-
handleClusterEvents
public void handleClusterEvents(CacheEntryEvent event) throws java.lang.Exception
- Throws:
java.lang.Exception
-
transactionCompleted
public void transactionCompleted(TransactionCompletedEvent event) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-