com.netflix.astyanax.clock
Class MicrosecondsSyncClock

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

public class MicrosecondsSyncClock
extends Object
implements Clock

Clock which uses a rolling counter to avoid duplicates.


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

Constructor Detail

MicrosecondsSyncClock

public MicrosecondsSyncClock()
Method Detail

getCurrentTime

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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.