public final class Clock extends Object
com.hazelcast.clock.offset| Modifier and Type | Class and Description | 
|---|---|
| static class  | Clock.ClockImplClock abstraction to be able to simulate different clocks
 without changing actual system time. | 
| Modifier and Type | Field and Description | 
|---|---|
| static String | HAZELCAST_CLOCK_IMPLClassname of a  Clock.ClockImplimplementation. | 
| static String | HAZELCAST_CLOCK_OFFSETClock offset property in milliseconds. | 
public static final String HAZELCAST_CLOCK_OFFSET
currentTimeMillis() will return a shifted System.currentTimeMillis()
 time by the given offset value.public static final String HAZELCAST_CLOCK_IMPL
Clock.ClockImpl implementation.
 When this property is set, currentTimeMillis()
 will call the currentTimeMillis() method of given ClockImpl.Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.