Class ClusterListenerRemoveCallable<K,V>
- java.lang.Object
-
- org.infinispan.notifications.cachelistener.cluster.ClusterListenerRemoveCallable<K,V>
-
- All Implemented Interfaces:
Callable<Void>,DistributedCallable<K,V,Void>
public class ClusterListenerRemoveCallable<K,V> extends Object implements DistributedCallable<K,V,Void>
This DistributedCallable is used to remove registeredRemoteClusterListeneron each of the various nodes when a cluster listener is unregistered from the cache.- Since:
- 7.0
- Author:
- wburns
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classClusterListenerRemoveCallable.Externalizer
-
Constructor Summary
Constructors Constructor Description ClusterListenerRemoveCallable(UUID identifier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Voidcall()voidsetEnvironment(Cache<K,V> cache, Set<K> inputKeys)Invoked by execution environment after DistributedCallable has been migrated for execution to a specific Infinispan node.
-
-
-
Constructor Detail
-
ClusterListenerRemoveCallable
public ClusterListenerRemoveCallable(UUID identifier)
-
-
Method Detail
-
setEnvironment
public void setEnvironment(Cache<K,V> cache, Set<K> inputKeys)
Description copied from interface:DistributedCallableInvoked by execution environment after DistributedCallable has been migrated for execution to a specific Infinispan node.- Specified by:
setEnvironmentin interfaceDistributedCallable<K,V,Void>- Parameters:
cache- cache whose keys are used as input data for this DistributedCallable taskinputKeys- keys used as input for this DistributedCallable task
-
-