|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cassandra.utils.LatencyTracker
public class LatencyTracker
Constructor Summary | |
---|---|
LatencyTracker()
|
Method Summary | |
---|---|
void |
addMicro(long micros)
|
void |
addNano(long nanos)
takes nanoseconds |
long |
getOpCount()
|
double |
getRecentLatencyMicros()
returns microseconds |
long |
getTotalLatencyMicros()
returns microseconds |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LatencyTracker()
Method Detail |
---|
public void addNano(long nanos)
public void addMicro(long micros)
public long getOpCount()
public long getTotalLatencyMicros()
public double getRecentLatencyMicros()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |