com.netflix.astyanax.clock
Class MicrosecondsSyncClock
java.lang.Object
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.
MicrosecondsSyncClock
public MicrosecondsSyncClock()
getCurrentTime
public long getCurrentTime()
- Specified by:
getCurrentTime
in interface Clock
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2012. All Rights Reserved.