c

org.apache.pekko.cluster.ddata

ManyVersionVector

final case class ManyVersionVector(versions: TreeMap[UniqueAddress, Long]) extends VersionVector with Product with Serializable

Source
VersionVector.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ManyVersionVector
  2. Product
  3. Equals
  4. VersionVector
  5. RemovedNodePruning
  6. ReplicatedDataSerialization
  7. Serializable
  8. ReplicatedData
  9. AnyRef
  10. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ManyVersionVector(versions: TreeMap[UniqueAddress, Long])

Type Members

  1. type T = VersionVector

    The type of the concrete implementation, e.g.

    The type of the concrete implementation, e.g. GSet[A]. To be specified by subclass.

    Definition Classes
    VersionVectorReplicatedData

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def ->[B](y: B): (ManyVersionVector, B)
    Implicit
    This member is added by an implicit conversion from ManyVersionVector toArrowAssoc[ManyVersionVector] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  4. def :+(node: SelfUniqueAddress): VersionVector

    Increment the version for the node passed as argument.

    Increment the version for the node passed as argument. Returns a new VersionVector.

    Definition Classes
    VersionVector
  5. def <(that: VersionVector): Boolean

    Returns true if this is before that else false.

    Returns true if this is before that else false.

    Definition Classes
    VersionVector
  6. def <>(that: VersionVector): Boolean

    Returns true if this and that are concurrent else false.

    Returns true if this and that are concurrent else false.

    Definition Classes
    VersionVector
  7. def ==(that: VersionVector): Boolean

    Returns true if this VersionVector has the same history as the 'that' VersionVector else false.

    Returns true if this VersionVector has the same history as the 'that' VersionVector else false.

    Definition Classes
    VersionVector
  8. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def >(that: VersionVector): Boolean

    Returns true if this is after that else false.

    Returns true if this is after that else false.

    Definition Classes
    VersionVector
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  12. def compareTo(that: VersionVector): Ordering

    Compare two version vectors.

    Compare two version vectors. The outcome will be one of the following:

    1. Version 1 is SAME (==)       as Version 2 iff for all i c1(i) == c2(i)
    2. Version 1 is BEFORE (<)      Version 2 iff for all i c1(i) <= c2(i) and there exist a j such that c1(j) < c2(j)
    3. Version 1 is AFTER (>)       Version 2 iff for all i c1(i) >= c2(i) and there exist a j such that c1(j) > c2(j).
    4. Version 1 is CONCURRENT (<>) to Version 2 otherwise.
    Definition Classes
    VersionVector
  13. def ensuring(cond: (ManyVersionVector) => Boolean, msg: => Any): ManyVersionVector
    Implicit
    This member is added by an implicit conversion from ManyVersionVector toEnsuring[ManyVersionVector] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: (ManyVersionVector) => Boolean): ManyVersionVector
    Implicit
    This member is added by an implicit conversion from ManyVersionVector toEnsuring[ManyVersionVector] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean, msg: => Any): ManyVersionVector
    Implicit
    This member is added by an implicit conversion from ManyVersionVector toEnsuring[ManyVersionVector] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean): ManyVersionVector
    Implicit
    This member is added by an implicit conversion from ManyVersionVector toEnsuring[ManyVersionVector] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  19. def increment(node: SelfUniqueAddress): VersionVector

    Increment the version for the node passed as argument.

    Increment the version for the node passed as argument. Returns a new VersionVector.

    Definition Classes
    VersionVector
  20. def isEmpty: Boolean
    Definition Classes
    ManyVersionVectorVersionVector
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def merge(that: VersionVector): VersionVector

    Merges this VersionVector with another VersionVector.

    Merges this VersionVector with another VersionVector. E.g. merges its versioned history.

    Definition Classes
    ManyVersionVectorVersionVectorReplicatedData
  23. def modifiedByNodes: Set[UniqueAddress]

    The nodes that have changed the state for this data and would need pruning when such node is no longer part of the cluster.

    The nodes that have changed the state for this data and would need pruning when such node is no longer part of the cluster.

    Definition Classes
    ManyVersionVectorRemovedNodePruning
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. def needPruningFrom(removedNode: UniqueAddress): Boolean

    Does it have any state changes from a specific node, which has been removed from the cluster.

    Does it have any state changes from a specific node, which has been removed from the cluster.

    Definition Classes
    ManyVersionVectorVersionVectorRemovedNodePruning
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  28. def productElementNames: Iterator[String]
    Definition Classes
    Product
  29. def prune(removedNode: UniqueAddress, collapseInto: UniqueAddress): VersionVector

    When the removed node has been removed from the cluster the state changes from that node will be pruned by collapsing the data entries to another node.

    When the removed node has been removed from the cluster the state changes from that node will be pruned by collapsing the data entries to another node.

    Definition Classes
    ManyVersionVectorVersionVectorRemovedNodePruning
  30. def pruningCleanup(removedNode: UniqueAddress): VersionVector

    Remove data entries from a node that has been removed from the cluster and already been pruned.

    Remove data entries from a node that has been removed from the cluster and already been pruned.

    Definition Classes
    ManyVersionVectorVersionVectorRemovedNodePruning
  31. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    ManyVersionVector → AnyRef → Any
  33. val versions: TreeMap[UniqueAddress, Long]
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Shadowed Implicit Value Members

  1. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from ManyVersionVector toany2stringadd[ManyVersionVector] performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (manyVersionVector: any2stringadd[ManyVersionVector]).+(other)
    Definition Classes
    any2stringadd

Deprecated Value Members

  1. def +(node: Cluster): VersionVector
    Definition Classes
    VersionVector
    Annotations
    @deprecated
    Deprecated

    (Since version Akka 2.5.20) Use :+ that takes a SelfUniqueAddress parameter instead.

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

    (Since version 9)

  3. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from ManyVersionVector toStringFormat[ManyVersionVector] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  4. def increment(node: Cluster): VersionVector
    Definition Classes
    VersionVector
    Annotations
    @deprecated
    Deprecated

    (Since version Akka 2.5.20) Use increment that takes a SelfUniqueAddress parameter instead.

  5. def [B](y: B): (ManyVersionVector, B)
    Implicit
    This member is added by an implicit conversion from ManyVersionVector toArrowAssoc[ManyVersionVector] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from Product

Inherited from Equals

Inherited from VersionVector

Inherited from RemovedNodePruning

Inherited from Serializable

Inherited from ReplicatedData

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromManyVersionVector to any2stringadd[ManyVersionVector]

Inherited by implicit conversion StringFormat fromManyVersionVector to StringFormat[ManyVersionVector]

Inherited by implicit conversion Ensuring fromManyVersionVector to Ensuring[ManyVersionVector]

Inherited by implicit conversion ArrowAssoc fromManyVersionVector to ArrowAssoc[ManyVersionVector]

Ungrouped