Class Join

java.lang.Object
org.apache.pekko.cluster.typed.Join
All Implemented Interfaces:
Serializable, ClusterCommand, scala.Equals, scala.Product

public final class Join extends Object implements ClusterCommand, scala.Product, Serializable
Try to join this cluster node with the node specified by 'address'.

An actor system can only join a cluster once. Additional attempts will be ignored. When it has successfully joined it must be restarted to be able to join another cluster or to join the same cluster again.

The name of the pekko.actor.ActorSystem must be the same for all members of a cluster.

See Also:
  • Constructor Details

    • Join

      public Join(Address address)
  • Method Details

    • create

      public static Join create(Address address)
      Java API
    • apply

      public static Join apply(Address address)
    • unapply

      public static scala.Option<Address> unapply(Join x$0)
    • address

      public Address address()
    • copy

      public Join copy(Address address)
    • copy$default$1

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