
public class UniqueMonotonicClock
extends java.time.Clock
| Modifier and Type | Field and Description |
|---|---|
protected static boolean |
useSync |
| Modifier and Type | Method and Description |
|---|---|
protected java.time.Instant |
atomicInstant() |
static java.time.Clock |
getInstance() |
java.time.ZoneId |
getZone() |
java.time.Instant |
instant() |
static void |
main(String[] arg) |
protected java.time.Instant |
syncInstant() |
java.time.Clock |
withZone(java.time.ZoneId zone) |
public static java.time.Clock getInstance()
public java.time.ZoneId getZone()
getZone in class java.time.Clockpublic java.time.Clock withZone(java.time.ZoneId zone)
withZone in class java.time.Clockprotected java.time.Instant syncInstant()
protected java.time.Instant atomicInstant()
public java.time.Instant instant()
instant in class java.time.Clockpublic static void main(String[] arg) throws InterruptedException
InterruptedExceptionCopyright © 2015 LSST. All rights reserved.