LatencyTracker (apache-cassandra API)
Date: 2012-05-04

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cassandra.utils
Class LatencyTracker

    java.lang.Object
      org.apache.cassandra.utils.LatencyTracker

    public class LatencyTracker

extends java.lang.Object

Constructor Summary
`LatencyTracker()`

Method Summary
`void` | `addMicro(long micros)`
`void` | `addNano(long nanos)` takes nanoseconds
`long` | `getOpCount()`
`long[]` | `getRecentLatencyHistogramMicros()`
`double` | `getRecentLatencyMicros()` returns microseconds
`long[]` | `getTotalLatencyHistogramMicros()`
`long` | `getTotalLatencyMicros()` returns microseconds

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### LatencyTracker

    public LatencyTracker()

Method Detail

### addNano

    public void addNano(long nanos)

  takes nanoseconds

### addMicro

    public void addMicro(long micros)

### getOpCount

    public long getOpCount()

### getTotalLatencyMicros

    public long getTotalLatencyMicros()

  returns microseconds

### getRecentLatencyMicros

    public double getRecentLatencyMicros()

  returns microseconds

### getTotalLatencyHistogramMicros

    public long[] getTotalLatencyHistogramMicros()

### getRecentLatencyHistogramMicros

    public long[] getRecentLatencyHistogramMicros()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2012 The Apache Software Foundation