public class LatencyTracker
extends java.lang.Object
Constructor and Description |
---|
LatencyTracker() |
Modifier and Type | Method and Description |
---|---|
void |
addMicro(long micros) |
void |
addNano(long nanos)
takes nanoseconds
|
long |
getOpCount() |
long[] |
getRecentLatencyHistogramMicros() |
double |
getRecentLatencyMicros()
returns microseconds
|
long[] |
getTotalLatencyHistogramMicros() |
long |
getTotalLatencyMicros()
returns microseconds
|
public void addNano(long nanos)
public void addMicro(long micros)
public long getOpCount()
public long getTotalLatencyMicros()
public double getRecentLatencyMicros()
public long[] getTotalLatencyHistogramMicros()
public long[] getRecentLatencyHistogramMicros()
Copyright © 2013 The Apache Software Foundation