public final class Time extends Object
For this to work, currentTimeMillis (or one of the methods that calls it) must be called more frequently than every millisecond; the EventLoop implementations in chronicle-threads do this.
| Modifier and Type | Method and Description |
|---|---|
static void |
parkNanos(long nanos)
Deprecated.
|
static void |
sleep(long time,
TimeUnit timeUnit)
Deprecated.
|
static String |
uniqueId() |
public static String uniqueId()
@Deprecated public static void parkNanos(long nanos)
@Deprecated public static void sleep(long time, TimeUnit timeUnit)
time - to pause for at least.timeUnit - the time unitCopyright © 2023. All rights reserved.