HybridTimestamp

A timestamp for use with HybridClock.

A hybrid timestamp is a combination of a physical timestamp and a logical timestamp.

This implementation is Comparable. Since the point of a hybrid timestamp is to provide an ordering to concurrent events, only identical HybridTimestamp instances are considered equal. This is different from the behaviour of VectorTimestamp, which considers concurrent timestamps equal.

Constructors

Link copied to clipboard
constructor(physical: Physical, logical: Logical)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun compareTo(other: HybridTimestamp<Physical, Logical>): Int