Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
12c (12.2.1.4.0)
E90869-02
SafeClock maintains a "safe" time in milliseconds.
Namespace: Tangosol.Util
Assembly: Coherence (in Coherence.dll) Version: 12.2.1.4014 (12.2.1.4014)
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
Tangosol.Util..::..SafeClock