Class ClusterListenerReplicateCallable<K,V>

java.lang.Object
org.infinispan.notifications.cachelistener.cluster.ClusterListenerReplicateCallable<K,V>
All Implemented Interfaces:
BiConsumer<EmbeddedCacheManager,Cache<K,V>>, Function<EmbeddedCacheManager,Void>

public class ClusterListenerReplicateCallable<K,V> extends Object implements Function<EmbeddedCacheManager,Void>, BiConsumer<EmbeddedCacheManager,Cache<K,V>>
This DistributedCallable is used to install a RemoteClusterListener on the resulting node. This class also has checks to ensure that if the listener is attempted to be installed from more than 1 source only 1 will be installed as well if a node goes down while installing will also remove the listener.
Since:
7.0
Author:
wburns