me.prettyprint.cassandra.service.clock
Class SecondsClockResolution

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

public class SecondsClockResolution
extends AbstractClockResolution
implements ClockResolution

Seconds 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
SecondsClockResolution()
           
 
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

SecondsClockResolution

public SecondsClockResolution()
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.