Package akka.cluster.typed
Class SelfUp
- java.lang.Object
-
- akka.cluster.typed.SelfUp
-
- All Implemented Interfaces:
DeadLetterSuppression
,ClusterEvent.ClusterDomainEvent
,java.io.Serializable
,scala.Equals
,scala.Product
public final class SelfUp extends java.lang.Object implements ClusterEvent.ClusterDomainEvent, scala.Product, java.io.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SelfUp(ClusterEvent.CurrentClusterState currentClusterState)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SelfUp
apply(ClusterEvent.CurrentClusterState currentClusterState)
boolean
canEqual(java.lang.Object x$1)
SelfUp
copy(ClusterEvent.CurrentClusterState currentClusterState)
ClusterEvent.CurrentClusterState
copy$default$1()
ClusterEvent.CurrentClusterState
currentClusterState()
boolean
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<ClusterEvent.CurrentClusterState>
unapply(SelfUp x$0)
-
-
-
Constructor Detail
-
SelfUp
public SelfUp(ClusterEvent.CurrentClusterState currentClusterState)
-
-
Method Detail
-
apply
public static SelfUp apply(ClusterEvent.CurrentClusterState currentClusterState)
-
unapply
public static scala.Option<ClusterEvent.CurrentClusterState> unapply(SelfUp x$0)
-
currentClusterState
public ClusterEvent.CurrentClusterState currentClusterState()
-
copy
public SelfUp copy(ClusterEvent.CurrentClusterState currentClusterState)
-
copy$default$1
public ClusterEvent.CurrentClusterState 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
-
-