Package akka.cluster.typed
Class Join
- java.lang.Object
-
- akka.cluster.typed.Join
-
- All Implemented Interfaces:
ClusterCommand
,java.io.Serializable
,scala.Equals
,scala.Product
public final class Join extends java.lang.Object implements ClusterCommand, scala.Product, java.io.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
ActorSystem
must be the same for all members of a cluster.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Address
address()
static Join
apply(Address address)
boolean
canEqual(java.lang.Object x$1)
Join
copy(Address address)
Address
copy$default$1()
static Join
create(Address address)
Java APIboolean
equals(java.lang.Object x$1)
int
hashCode()
int
productArity()
java.lang.Object
productElement(int x$1)
java.lang.String
productElementName(int x$1)
scala.collection.Iterator<java.lang.Object>
productIterator()
java.lang.String
productPrefix()
java.lang.String
toString()
static scala.Option<Address>
unapply(Join x$0)
-
-
-
Constructor Detail
-
Join
public Join(Address address)
-
-
Method Detail
-
address
public Address address()
-
copy$default$1
public Address copy$default$1()
-
productPrefix
public java.lang.String productPrefix()
- Specified by:
productPrefix
in interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArity
in interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElement
in interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIterator
in interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqual
in interfacescala.Equals
-
productElementName
public java.lang.String productElementName(int x$1)
- Specified by:
productElementName
in interfacescala.Product
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
equals
in interfacescala.Equals
- Overrides:
equals
in classjava.lang.Object
-
-