Package net.quasardb.qdb.ts
Class NanoClock
java.lang.Object
java.time.Clock
net.quasardb.qdb.ts.NanoClock
- All Implemented Interfaces:
InstantSource
Nanosecond precision clock implementation. Used by
Timespec
as its
default Clock backend.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.time.Clock
equals, fixed, hashCode, millis, offset, system, systemDefaultZone, systemUTC, tick, tickMillis, tickMinutes, tickSeconds
-
Constructor Details
-
NanoClock
public NanoClock() -
NanoClock
-
-
Method Details
-
getZone
-
instant
- Specified by:
instant
in interfaceInstantSource
- Specified by:
instant
in classClock
-
withZone
- Specified by:
withZone
in interfaceInstantSource
- Specified by:
withZone
in classClock
-