Class RemoteClusterListener
- java.lang.Object
-
- org.infinispan.notifications.cachelistener.cluster.RemoteClusterListener
-
@ThreadSafe public class RemoteClusterListener extends Object
A 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(UUID id, Address origin, CacheNotifier cacheNotifier, CacheManagerNotifier cacheManagerNotifier, ClusterEventManager eventManager, boolean sync)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UUIDgetId()AddressgetOwnerAddress()CompletionStage<Void>handleClusterEvents(CacheEntryEvent event)CompletionStage<Void>removeListener()CompletionStage<Void>transactionCompleted(TransactionCompletedEvent event)CompletionStage<Void>viewChange(ViewChangedEvent event)
-
-
-
Constructor Detail
-
RemoteClusterListener
public RemoteClusterListener(UUID id, Address origin, CacheNotifier cacheNotifier, CacheManagerNotifier cacheManagerNotifier, ClusterEventManager eventManager, boolean sync)
-
-
Method Detail
-
getId
public UUID getId()
-
getOwnerAddress
public Address getOwnerAddress()
-
viewChange
public CompletionStage<Void> viewChange(ViewChangedEvent event)
-
removeListener
public CompletionStage<Void> removeListener()
-
handleClusterEvents
public CompletionStage<Void> handleClusterEvents(CacheEntryEvent event)
-
transactionCompleted
public CompletionStage<Void> transactionCompleted(TransactionCompletedEvent event)
-
-