Class Clock

  extended by com.hazelcast.util.Clock

public final class Clock
extends Object

Utility class to be able to simulate different time zones. Time offset can be configured with following property "com.hazelcast.clock.offset"

Method Summary
static long currentTimeMillis()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Detail


public static long currentTimeMillis()

Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.