Class SelfRemoved

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

public final class SelfRemoved extends Object implements ClusterEvent.ClusterDomainEvent, scala.Product, Serializable
Subscribe to this node being removed from the cluster. If the node was already removed from the cluster when this subscription is created it will be responded to immediately from the subscriptions actor.

Note: Only emitted for the typed cluster.

See Also:
  • Constructor Details

    • SelfRemoved

      public SelfRemoved(MemberStatus previousStatus)
  • Method Details

    • apply

      public static SelfRemoved apply(MemberStatus previousStatus)
    • unapply

      public static scala.Option<MemberStatus> unapply(SelfRemoved x$0)
    • previousStatus

      public MemberStatus previousStatus()
    • copy

      public SelfRemoved copy(MemberStatus previousStatus)
    • copy$default$1

      public MemberStatus 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