Class

akka.cluster.ddata

ManyVersionVector

Related Doc: package ddata

Permalink

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

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

Instance Constructors

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

    Permalink

Type Members

  1. type T = VersionVector

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(node: Cluster): VersionVector

    Permalink

    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
  4. def ->[B](y: B): (ManyVersionVector, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ManyVersionVector to ArrowAssoc[ManyVersionVector] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. def <(that: VersionVector): Boolean

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef → Any
  9. def >(that: VersionVector): Boolean

    Permalink

    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

    Permalink
    Definition Classes
    Any
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def compareTo(that: VersionVector): Ordering

    Permalink

    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

    Permalink
    Implicit information
    This member is added by an implicit conversion from ManyVersionVector to Ensuring[ManyVersionVector] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: (ManyVersionVector) ⇒ Boolean): ManyVersionVector

    Permalink
    Implicit information
    This member is added by an implicit conversion from ManyVersionVector to Ensuring[ManyVersionVector] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean, msg: ⇒ Any): ManyVersionVector

    Permalink
    Implicit information
    This member is added by an implicit conversion from ManyVersionVector to Ensuring[ManyVersionVector] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean): ManyVersionVector

    Permalink
    Implicit information
    This member is added by an implicit conversion from ManyVersionVector to Ensuring[ManyVersionVector] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ManyVersionVector to StringFormat[ManyVersionVector] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  20. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  21. def increment(node: Cluster): VersionVector

    Permalink

    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
  22. def isEmpty: Boolean

    Permalink
    Definition Classes
    ManyVersionVectorVersionVector
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. def merge(that: VersionVector): VersionVector

    Permalink

    Merges this VersionVector with another VersionVector.

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

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

    Permalink

    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
  26. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  27. def needPruningFrom(removedNode: UniqueAddress): Boolean

    Permalink

    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
  28. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. def prune(removedNode: UniqueAddress, collapseInto: UniqueAddress): VersionVector

    Permalink

    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
  31. def pruningCleanup(removedNode: UniqueAddress): VersionVector

    Permalink

    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
  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  33. def toString(): String

    Permalink
    Definition Classes
    ManyVersionVector → AnyRef → Any
  34. val versions: TreeMap[UniqueAddress, Long]

    Permalink
  35. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. def [B](y: B): (ManyVersionVector, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ManyVersionVector to ArrowAssoc[ManyVersionVector] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ManyVersionVector to any2stringadd[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

Inherited from Product

Inherited from Equals

Inherited from VersionVector

Inherited from RemovedNodePruning

Inherited from Serializable

Inherited from Serializable

Inherited from ReplicatedData

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from ManyVersionVector to any2stringadd[ManyVersionVector]

Inherited by implicit conversion StringFormat from ManyVersionVector to StringFormat[ManyVersionVector]

Inherited by implicit conversion Ensuring from ManyVersionVector to Ensuring[ManyVersionVector]

Inherited by implicit conversion ArrowAssoc from ManyVersionVector to ArrowAssoc[ManyVersionVector]

Ungrouped