c

akka.cluster.ddata

OneVersionVector

final case class OneVersionVector extends VersionVector with Product with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OneVersionVector
  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

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. 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
  2. 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
  3. 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
  4. 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
  5. 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
  6. 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
  7. 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
  8. def isEmpty: Boolean
    Definition Classes
    OneVersionVectorVersionVector
  9. 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
    OneVersionVectorVersionVectorReplicatedData
  10. 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
    OneVersionVectorRemovedNodePruning
  11. 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
    OneVersionVectorVersionVectorRemovedNodePruning
  12. val node: UniqueAddress
  13. 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
    OneVersionVectorVersionVectorRemovedNodePruning
  14. 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
    OneVersionVectorVersionVectorRemovedNodePruning
  15. def toString(): String
    Definition Classes
    OneVersionVector → AnyRef → Any
  16. val version: Long

Deprecated Value Members

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

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

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

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