Class ClusterEventCallable<K,V>
- java.lang.Object
-
- org.infinispan.notifications.cachelistener.cluster.ClusterEventCallable<K,V>
-
- All Implemented Interfaces:
java.util.function.Function<EmbeddedCacheManager,java.lang.Void>
public class ClusterEventCallable<K,V> extends java.lang.Object implements java.util.function.Function<EmbeddedCacheManager,java.lang.Void>
This DistributedCallable is used to invoke a raised notification on the cluster listener that registered to listen for this event.- Since:
- 7.0
- Author:
- wburns
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classClusterEventCallable.Externalizer
-
Constructor Summary
Constructors Constructor Description ClusterEventCallable(java.lang.String cacheName, java.util.UUID identifier, java.util.Collection<? extends ClusterEvent<K,V>> events)ClusterEventCallable(java.lang.String cacheName, java.util.UUID identifier, ClusterEvent<K,V> event)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Voidapply(EmbeddedCacheManager embeddedCacheManager)java.lang.StringtoString()
-
-
-
Constructor Detail
-
ClusterEventCallable
public ClusterEventCallable(java.lang.String cacheName, java.util.UUID identifier, ClusterEvent<K,V> event)
-
ClusterEventCallable
public ClusterEventCallable(java.lang.String cacheName, java.util.UUID identifier, java.util.Collection<? extends ClusterEvent<K,V>> events)
-
-
Method Detail
-
apply
public java.lang.Void apply(EmbeddedCacheManager embeddedCacheManager)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-