Class 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 the appVersion is read from an external system (e.g. Kubernetes) it can be defined after system startup but before joining by completing the appVersion Future. In that case, SetAppVersionLater should be sent before Join or JoinSeedNodes It's fine to send Join or JoinSeedNodes immediately afterwards (before the Future is completed. The join will then wait for the appVersion to be completed.
    See Also:
    Serialized Form
    • 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 the appVersion is read from an external system (e.g. Kubernetes) it can be defined after system startup but before joining by completing the appVersion CompletionStage. In that case, SetAppVersionLater should be sent before Join or JoinSeedNodes It's fine to send Join or JoinSeedNodes immediately afterwards (before the CompletionStage is completed. The join will then wait for the appVersion to be completed.
      • appVersion

        public 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 interface scala.Product
      • productArity

        public int productArity()
        Specified by:
        productArity in interface scala.Product
      • productElement

        public java.lang.Object productElement​(int x$1)
        Specified by:
        productElement in interface scala.Product
      • productIterator

        public scala.collection.Iterator<java.lang.Object> productIterator()
        Specified by:
        productIterator in interface scala.Product
      • canEqual

        public boolean canEqual​(java.lang.Object x$1)
        Specified by:
        canEqual in interface scala.Equals
      • productElementName

        public java.lang.String productElementName​(int x$1)
        Specified by:
        productElementName in interface scala.Product
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object x$1)
        Specified by:
        equals in interface scala.Equals
        Overrides:
        equals in class java.lang.Object