Clock

org.apache.pekko.cluster.ddata.LWWRegister$.Clock
trait Clock[A]

Attributes

Source
LWWRegister.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def apply(currentTimestamp: Long, value: A): Long

Value parameters

currentTimestamp

the current timestamp value of the LWWRegister

value

the register value to set and associate with the returned timestamp

Attributes

Returns

next timestamp

Source
LWWRegister.scala