com.hazelcast.util

## Class ClockProperties

- java.lang.Object
- - com.hazelcast.util.ClockProperties

-     public final class ClockProperties
      extends Object

  Utility class to set system parameters for the clock implementation.

- - ### Field Summary

    Fields
    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.

  - ### Method Summary

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### HAZELCAST_CLOCK_OFFSET

          public static final String HAZELCAST_CLOCK_OFFSET

      Clock offset property in milliseconds. When it is set to a non-zero value, `Clock.currentTimeMillis()` will return a shifted `System#currentTimeMillis()` time by the given offset value.
      See Also:
        Constant Field Values

    - #### HAZELCAST_CLOCK_IMPL

          public static final String HAZELCAST_CLOCK_IMPL

      The implementation of `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`.
      See Also:
        Constant Field Values

Copyright © 2019. All rights reserved.