Skip to content

CausalClock

class

Namespace: Orleans.Transactions

Provides monotonically increasing UTC timestamps and merges timestamps from distributed participants.
public class CausalClock

Constructors

Methods

  • Merge(DateTime) Merges a timestamp into this clock.
  • MergeUtcNow(DateTime) Merges a timestamp and advances this clock using the current UTC time.
  • UtcNow Gets a UTC timestamp which is later than every timestamp previously observed by this instance.