com.netflix.astyanax.clock
Class ConstantClock

java.lang.Object
  extended by com.netflix.astyanax.clock.ConstantClock
All Implemented Interfaces:
Clock

public class ConstantClock
extends Object
implements Clock


Constructor Summary
ConstantClock(long timestamp)
           
 
Method Summary
 long getCurrentTime()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstantClock

public ConstantClock(long timestamp)
Method Detail

getCurrentTime

public long getCurrentTime()
Specified by:
getCurrentTime in interface Clock


Copyright © 2012. All Rights Reserved.