Package org.apache.pekko.cluster.typed
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SelfUpapply(ClusterEvent.CurrentClusterState currentClusterState) booleancopy(ClusterEvent.CurrentClusterState currentClusterState) booleaninthashCode()intproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>toString()static scala.Option<ClusterEvent.CurrentClusterState>Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Product
productElementNames
-
Constructor Details
-
SelfUp
-
-
Method Details
-
apply
-
unapply
-
currentClusterState
-
copy
-
copy$default$1
-
productPrefix
- Specified by:
productPrefixin interfacescala.Product
-
productArity
public int productArity()- Specified by:
productArityin interfacescala.Product
-
productElement
- Specified by:
productElementin interfacescala.Product
-
productIterator
- Specified by:
productIteratorin interfacescala.Product
-
canEqual
- Specified by:
canEqualin interfacescala.Equals
-
productElementName
- Specified by:
productElementNamein interfacescala.Product
-
hashCode
public int hashCode() -
toString
-
equals
-