Class VectorClock$

java.lang.Object
org.apache.pekko.cluster.VectorClock$
All Implemented Interfaces:
Serializable

public class VectorClock$ extends Object implements Serializable
VectorClock module with helper classes and methods.

Based on code from the 'vlock' VectorClock library by Coda Hale.

See Also:
  • Field Details

    • MODULE$

      public static final VectorClock$ MODULE$
      Static reference to the singleton instance of this Scala object.
  • Constructor Details

    • VectorClock$

      public VectorClock$()
  • Method Details

    • $lessinit$greater$default$1

      public scala.collection.immutable.TreeMap<String,Object> $lessinit$greater$default$1()
      Representation of a Vector-based clock (counting clock), inspired by Lamport logical clocks.
      
       Reference:
          1) Leslie Lamport (1978). "Time, clocks, and the ordering of events in a distributed system". Communications of the ACM 21 (7): 558-565.
          2) Friedemann Mattern (1988). "Virtual Time and Global States of Distributed Systems". Workshop on Parallel and Distributed Algorithms: pp. 215-226
       

      Based on code from the 'vlock' VectorClock library by Coda Hale.

    • apply

      public VectorClock apply(scala.collection.immutable.TreeMap<String,Object> versions)
    • apply$default$1

      public scala.collection.immutable.TreeMap<String,Object> apply$default$1()
    • unapply

      public scala.Option<scala.collection.immutable.TreeMap<String,Object>> unapply(VectorClock x$0)