public final class ClockProperties extends Object
Modifier and Type | Field and Description |
---|---|
static String |
HAZELCAST_CLOCK_IMPL
The implementation of
Clock.ClockImpl to use. |
static String |
HAZELCAST_CLOCK_OFFSET
Clock offset property in milliseconds.
|
public static final String HAZELCAST_CLOCK_OFFSET
Clock.currentTimeMillis()
will return a shifted System#currentTimeMillis()
time by the given offset value.public static final String HAZELCAST_CLOCK_IMPL
Clock.ClockImpl
to use. If not defined we will use
Clock.SystemClock
or Clock.SystemOffsetClock
, depending on
whether an offset is defined with HAZELCAST_CLOCK_OFFSET
.Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.