public class Latency
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Latency(int maxTrackedLatencyMillis,
int minMillis,
int maxMillis,
float avg,
int totalOps,
int percent95,
int percent99,
int opsOverflow) |
Modifier and Type | Method and Description |
---|---|
int |
get95thPercent() |
int |
get99thPercent() |
float |
getAvg() |
int |
getMax() |
int |
getMaxTrackedLatencyMillis() |
int |
getMin() |
int |
getOpsOverflow() |
int |
getTotalOps() |
void |
rollup(Latency other)
Add the measurements from "other" and recalculate the min, max, and
average values.
|
java.lang.String |
toString() |
public Latency(int maxTrackedLatencyMillis, int minMillis, int maxMillis, float avg, int totalOps, int percent95, int percent99, int opsOverflow)
public java.lang.String toString()
toString
in class java.lang.Object
public int getTotalOps()
public int getOpsOverflow()
public int getMaxTrackedLatencyMillis()
public int getMin()
public int getMax()
public float getAvg()
public int get95thPercent()
public int get99thPercent()
public void rollup(Latency other)
Copyright (c) 2004-2012 Oracle. All rights reserved.