Package akka.cluster.typed
Class Leave
- java.lang.Object
-
- akka.cluster.typed.Leave
-
- All Implemented Interfaces:
ClusterCommand,java.io.Serializable,scala.Equals,scala.Product
public final class Leave extends java.lang.Object implements ClusterCommand, scala.Product, java.io.Serializable
Send command to issue state transition to LEAVING for the node specified by 'address'. The member will go through the status changesMemberStatusLeaving(not published to subscribers) followed byMemberStatusExitingand finallyMemberStatusRemoved.Note that this command can be issued to any member in the cluster, not necessarily the one that is leaving. The cluster extension, but not the actor system or JVM, of the leaving member will be shutdown after the leader has changed status of the member to Exiting. Thereafter the member will be removed from the cluster. Normally this is handled automatically, but in case of network failures during this process it might still be necessary to set the node’s status to Down in order to complete the removal.
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Addressaddress()static Leaveapply(Address address)booleancanEqual(java.lang.Object x$1)Leavecopy(Address address)Addresscopy$default$1()static Leavecreate(Address address)Java APIbooleanequals(java.lang.Object x$1)inthashCode()intproductArity()java.lang.ObjectproductElement(int x$1)java.lang.StringproductElementName(int x$1)scala.collection.Iterator<java.lang.Object>productIterator()java.lang.StringproductPrefix()java.lang.StringtoString()static scala.Option<Address>unapply(Leave x$0)
-
-
-
Constructor Detail
-
Leave
public Leave(Address address)
-
-
Method Detail
-
address
public Address address()
-
copy$default$1
public Address copy$default$1()
-
productPrefix
public java.lang.String productPrefix()
- Specified by:
productPrefixin interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArityin interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElementin interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIteratorin interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqualin interfacescala.Equals
-
productElementName
public java.lang.String productElementName(int x$1)
- Specified by:
productElementNamein interfacescala.Product
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
equalsin interfacescala.Equals- Overrides:
equalsin classjava.lang.Object
-
-