LastWriterWins

kofre.datatypes.LastWriterWins
See theLastWriterWins companion object
case class LastWriterWins[+A](timestamp: CausalTime, payload: A)

A LastWriterWins (register) is a common fallback for datatypes that don’t have good merge semantics.

Concurrent writes are resolved by wallclock time first (favouring replicas with clock drift into the future), and by replica ID, in case both writes happened in the same millisecond.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product