public final class Clock extends Object
ClockIntegrationTest
.Modifier and Type | Class and Description |
---|---|
static class |
Clock.ClockImpl
Extend this class if you want to provide your own clock implementation.
|
Modifier and Type | Method and Description |
---|---|
static long |
currentTimeMillis()
Returns the current time in ms for the configured
Clock.ClockImpl |
static long |
toSystemCurrentTimeMillis(long millis)
Converts from configured clock implementation offset to JVM time offset
|
public static long currentTimeMillis()
Clock.ClockImpl
public static long toSystemCurrentTimeMillis(long millis)
millis
- Copyright © 2019 Hazelcast, Inc.. All rights reserved.