Class SelfUp

java.lang.Object
org.apache.pekko.cluster.typed.SelfUp
All Implemented Interfaces:
Serializable, DeadLetterSuppression, ClusterEvent.ClusterDomainEvent, scala.Equals, scala.Product

public final class SelfUp extends Object implements ClusterEvent.ClusterDomainEvent, scala.Product, Serializable
Subscribe to this node being up, after sending this event the subscription is automatically cancelled. If the node is already up the event is also sent to the subscriber. If the node was up but is no more because it left or is leaving the cluster, no event is sent and the subscription request is ignored.

Note: Only emitted for the typed cluster.

See Also:
  • Constructor Details

  • Method Details

    • apply

      public static SelfUp apply(ClusterEvent.CurrentClusterState currentClusterState)
    • unapply

      public static scala.Option<ClusterEvent.CurrentClusterState> unapply(SelfUp x$0)
    • currentClusterState

      public ClusterEvent.CurrentClusterState currentClusterState()
    • copy

      public SelfUp copy(ClusterEvent.CurrentClusterState currentClusterState)
    • copy$default$1

      public ClusterEvent.CurrentClusterState copy$default$1()
    • productPrefix

      public String productPrefix()
      Specified by:
      productPrefix in interface scala.Product
    • productArity

      public int productArity()
      Specified by:
      productArity in interface scala.Product
    • productElement

      public Object productElement(int x$1)
      Specified by:
      productElement in interface scala.Product
    • productIterator

      public scala.collection.Iterator<Object> productIterator()
      Specified by:
      productIterator in interface scala.Product
    • canEqual

      public boolean canEqual(Object x$1)
      Specified by:
      canEqual in interface scala.Equals
    • productElementName

      public String productElementName(int x$1)
      Specified by:
      productElementName in interface scala.Product
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object x$1)
      Specified by:
      equals in interface scala.Equals
      Overrides:
      equals in class Object