me.prettyprint.cassandra.service.clock
Class MicrosecondsSyncClockResolution

java.lang.Object
  extended by me.prettyprint.cassandra.service.clock.AbstractClockResolution
      extended by me.prettyprint.cassandra.service.clock.MicrosecondsSyncClockResolution
All Implemented Interfaces:
Serializable, ClockResolution

public class MicrosecondsSyncClockResolution
extends AbstractClockResolution
implements ClockResolution

Synchronized Milliseconds Resolution used to create clocks.

Author:
Patricio Echague (pechague@gmail.com)
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface me.prettyprint.hector.api.ClockResolution
MICROSECONDS, MICROSECONDS_SYNC, MILLISECONDS, SECONDS
 
Constructor Summary
MicrosecondsSyncClockResolution()
           
 
Method Summary
 long createClock()
          Creates a timestamp.
 
Methods inherited from class me.prettyprint.cassandra.service.clock.AbstractClockResolution
getSystemMilliseconds
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MicrosecondsSyncClockResolution

public MicrosecondsSyncClockResolution()
Method Detail

createClock

public long createClock()
Description copied from interface: ClockResolution
Creates a timestamp.

Specified by:
createClock in interface ClockResolution


Copyright © 2011. All Rights Reserved.