com.hazelcast.util
Class Clock.ClockImpl

java.lang.Object
  extended by com.hazelcast.util.Clock.ClockImpl
Enclosing class:
Clock

public abstract static class Clock.ClockImpl
extends Object

Clock abstraction to be able to simulate different clocks without changing actual system time.


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

Constructor Detail

Clock.ClockImpl

public Clock.ClockImpl()
Method Detail

currentTimeMillis

protected abstract long currentTimeMillis()


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