Interface ClusterEvent

    • Method Detail

      • asJoin

        ClusterJoinEvent asJoin()
        Casts this instance to the ClusterJoinEvent type or returns null if this instance can't be cast to that type.
        Returns:
        This instance as to ClusterJoinEvent or null if this instance can't be cast to that type.
      • topology

        ClusterTopology topology()
        Returns the cluster topology snapshot of this event.
        Returns:
        Cluster topology.
      • attach

        void attach​(CompletableFuture<?> future)
        Attaches an arbitrary asynchronous task to this event.

        The specified future object represents an asynchronous task that should be logically attached to this event in such a way that this event should not be considered completed until the task future is completed.

        Parameters:
        future - Synchronization future.
        See Also:
        future()