Packages

object ProtocolVersion extends Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ProtocolVersion
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. sealed trait Beta extends Status
  2. final case class InvalidProtocolVersion(description: String) extends FailureReason with Product with Serializable
  3. type ProtocolVersionWithStatus[S <: Status] = ProtocolVersion { type Status = S }
  4. sealed trait Stable extends Status
  5. sealed trait Status extends AnyRef

    Type-level marker for whether a protocol version is stable

  6. sealed trait Unstable extends Status

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val beta: List[ProtocolVersionWithStatus[Beta]]
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  7. def create(rawVersion: String, allowDeleted: Boolean = false): Either[String, ProtocolVersion]

    Creates a ProtocolVersion from the given raw version value and ensures that it is a supported version.

    Creates a ProtocolVersion from the given raw version value and ensures that it is a supported version.

    rawVersion

    String to be parsed.

    allowDeleted

    If true, don't fail if rawVersion corresponds to a deleted protocol version. This should only be used when parsing a version that does not correspond to the one running on the domain. One such example is the minimum supported protocol version from a participant.

  8. lazy val dev: ProtocolVersionWithStatus[Unstable]
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def fromProtoPrimitive(rawVersion: Int, allowDeleted: Boolean = false): ParsingResult[ProtocolVersion]

    Like create ensures a supported protocol version; tailored to (de-)serialization purposes.

  12. def fromProtoPrimitiveS(rawVersion: String, allowDeleted: Boolean = false): ParsingResult[ProtocolVersion]

    Like create ensures a supported protocol version; tailored to (de-)serialization purposes.

  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  14. implicit val getResultProtocolVersion: GetResult[ProtocolVersion]
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. val latestStable: ProtocolVersion
  18. lazy val minimum: ProtocolVersion
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  22. def parseUnchecked(rawVersion: String): Either[String, ProtocolVersion]

    Parse a given raw version string into a ProtocolVersion without any further validation, i.e.

    Parse a given raw version string into a ProtocolVersion without any further validation, i.e. it allows to create invalid and unsupported ProtocolVersion!

    ONLY use this method when - implementing functionality for the ProtocolVersion itself - additional validation is being applied on the resulting ProtocolVersion afterwards as a exception - testing and having a need for an invalid or unsupported ProtocolVersion

    Otherwise, use one of the other factory methods.

  23. implicit lazy val protocolVersionReader: ConfigReader[ProtocolVersion]
  24. implicit val protocolVersionWriter: ConfigWriter[ProtocolVersion]
  25. implicit val setParameterProtocolVersion: SetParameter[ProtocolVersion]
  26. val smallestStable: ProtocolVersion
  27. val stable: NonEmpty[List[ProtocolVersion]]

    All stable protocol versions supported by this release.

  28. val supported: NonEmpty[List[ProtocolVersion]]
  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. def tryCreate(rawVersion: String, allowDeleted: Boolean = false): ProtocolVersion

    Like create ensures a supported protocol version; but throws a runtime exception for errors.

  32. val unstable: NonEmpty[List[ProtocolVersionWithStatus[Unstable]]]
  33. lazy val v3: ProtocolVersionWithStatus[Stable]
  34. lazy val v4: ProtocolVersionWithStatus[Stable]
  35. lazy val v5: ProtocolVersionWithStatus[Stable]
  36. lazy val v6: ProtocolVersionWithStatus[Unstable]
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
    Deprecated

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped