com.netflix.astyanax.clock
Class ConstantClock
java.lang.Object
com.netflix.astyanax.clock.ConstantClock
- All Implemented Interfaces:
- Clock
public class ConstantClock
- extends Object
- implements Clock
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConstantClock
public ConstantClock(long timestamp)
getCurrentTime
public long getCurrentTime()
- Specified by:
getCurrentTime
in interface Clock
Copyright © 2012. All Rights Reserved.