CausalClock
class
Namespace: Orleans.Transactions
Provides monotonically increasing UTC timestamps and merges timestamps from distributed participants.
public class CausalClockConstructors
CausalClock(IClock)Initializes a new instance of theCausalClockclass.
Methods
Merge(DateTime)Merges a timestamp into this clock.MergeUtcNow(DateTime)Merges a timestamp and advances this clock using the current UTC time.UtcNowGets a UTC timestamp which is later than every timestamp previously observed by this instance.
