Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Void apply​(EmbeddedCacheManager embeddedCacheManager)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.function.Function

        andThen, compose
    • 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)
        Specified by:
        apply in interface java.util.function.Function<K,​V>
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object