Package akka.cluster.typed
Class SetAppVersionLater
- java.lang.Object
-
- akka.cluster.typed.SetAppVersionLater
-
- All Implemented Interfaces:
ClusterCommand
,java.io.Serializable
,scala.Equals
,scala.Product
public final class SetAppVersionLater extends java.lang.Object implements ClusterCommand, scala.Product, java.io.Serializable
Scala API: If theappVersion
is read from an external system (e.g. Kubernetes) it can be defined after system startup but before joining by completing theappVersion
Future
. In that case,SetAppVersionLater
should be sent beforeJoin
orJoinSeedNodes
It's fine to sendJoin
orJoinSeedNodes
immediately afterwards (before theFuture
is completed. The join will then wait for theappVersion
to be completed.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SetAppVersionLater(scala.concurrent.Future<Version> appVersion)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SetAppVersionLater
apply(scala.concurrent.Future<Version> appVersion)
scala.concurrent.Future<Version>
appVersion()
boolean
canEqual(java.lang.Object x$1)
SetAppVersionLater
copy(scala.concurrent.Future<Version> appVersion)
scala.concurrent.Future<Version>
copy$default$1()
static SetAppVersionLater
create(java.util.concurrent.CompletionStage<Version> appVersion)
Java API: If theappVersion
is read from an external system (e.g.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<scala.concurrent.Future<Version>>
unapply(SetAppVersionLater x$0)
-
-
-
Constructor Detail
-
SetAppVersionLater
public SetAppVersionLater(scala.concurrent.Future<Version> appVersion)
-
-
Method Detail
-
create
public static SetAppVersionLater create(java.util.concurrent.CompletionStage<Version> appVersion)
Java API: If theappVersion
is read from an external system (e.g. Kubernetes) it can be defined after system startup but before joining by completing theappVersion
CompletionStage
. In that case,SetAppVersionLater
should be sent beforeJoin
orJoinSeedNodes
It's fine to sendJoin
orJoinSeedNodes
immediately afterwards (before theCompletionStage
is completed. The join will then wait for theappVersion
to be completed.
-
apply
public static SetAppVersionLater apply(scala.concurrent.Future<Version> appVersion)
-
unapply
public static scala.Option<scala.concurrent.Future<Version>> unapply(SetAppVersionLater x$0)
-
appVersion
public scala.concurrent.Future<Version> appVersion()
-
copy
public SetAppVersionLater copy(scala.concurrent.Future<Version> appVersion)
-
copy$default$1
public scala.concurrent.Future<Version> 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
-
-