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, DistributedExecutorService distExecService, CacheNotifier cacheNotifier, CacheManagerNotifier cacheManagerNotifier, ClusterEventManager eventManager, boolean sync)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UUID
getId()
Address
getOwnerAddress()
void
handleClusterEvents(CacheEntryEvent event)
void
removeListener()
void
transactionCompleted(TransactionCompletedEvent event)
void
viewChange(ViewChangedEvent event)
-
-
-
Constructor Detail
-
RemoteClusterListener
public RemoteClusterListener(UUID id, Address origin, DistributedExecutorService distExecService, CacheNotifier cacheNotifier, CacheManagerNotifier cacheManagerNotifier, ClusterEventManager eventManager, boolean sync)
-
-
Method Detail
-
getId
public UUID getId()
-
getOwnerAddress
public Address getOwnerAddress()
-
viewChange
public void viewChange(ViewChangedEvent event)
-
removeListener
public void removeListener()
-
handleClusterEvents
public void handleClusterEvents(CacheEntryEvent event) throws Exception
- Throws:
Exception
-
transactionCompleted
public void transactionCompleted(TransactionCompletedEvent event) throws Exception
- Throws:
Exception
-
-