Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
SafeClock Class
Members See Also Send Feedback

Oracle® Coherence .NET API Reference Release 3.6
E15727-01
SafeClock maintains a "safe" time in milliseconds.

Namespace: Tangosol.Util
Assembly: Coherence (in Coherence.dll) Version: 3.6.0.0 (3.6.0.0)

# Syntax

C#
    public class SafeClock

# Remarks

This clock guarantees that the time never "goes back". More specifically, when queried twice on the same thread, the second query will never return a value that is less then the value returned by the first. If we detect the system clock moving backward, an attempt will be made to gradually compensate the safe clock (by slowing it down), so in the long run the safe time is the same as the system time. The SafeClock supports the concept of "clock jitter", which is a small time interval that the system clock could fluctuate by without a corresponding passage of wall time.

# Inheritance Hierarchy

System..::.Object
Tangosol.Util..::.SafeClock

# See Also

SafeClock Members
Tangosol.Util Namespace