public class Latency
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the average latency for the slowest X percent of requests over the last 10 seconds.
Modifier and Type | Field and Description |
---|---|
private java.lang.Double |
p10
The average latency for the slowest 90 percent of requests over the last
10 seconds.
|
private java.lang.Double |
p50
The average latency for the slowest 50 percent of requests over the last
10 seconds.
|
private java.lang.Double |
p75
The average latency for the slowest 25 percent of requests over the last
10 seconds.
|
private java.lang.Double |
p85
The average latency for the slowest 15 percent of requests over the last
10 seconds.
|
private java.lang.Double |
p90
The average latency for the slowest 10 percent of requests over the last
10 seconds.
|
private java.lang.Double |
p95
The average latency for the slowest 5 percent of requests over the last
10 seconds.
|
private java.lang.Double |
p99
The average latency for the slowest 1 percent of requests over the last
10 seconds.
|
private java.lang.Double |
p999
The average latency for the slowest 0.1 percent of requests over the last
10 seconds.
|
Constructor and Description |
---|
Latency() |
Modifier and Type | Method and Description |
---|---|
Latency |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Double |
getP10()
The average latency for the slowest 90 percent of requests over the last
10 seconds.
|
java.lang.Double |
getP50()
The average latency for the slowest 50 percent of requests over the last
10 seconds.
|
java.lang.Double |
getP75()
The average latency for the slowest 25 percent of requests over the last
10 seconds.
|
java.lang.Double |
getP85()
The average latency for the slowest 15 percent of requests over the last
10 seconds.
|
java.lang.Double |
getP90()
The average latency for the slowest 10 percent of requests over the last
10 seconds.
|
java.lang.Double |
getP95()
The average latency for the slowest 5 percent of requests over the last
10 seconds.
|
java.lang.Double |
getP99()
The average latency for the slowest 1 percent of requests over the last
10 seconds.
|
java.lang.Double |
getP999()
The average latency for the slowest 0.1 percent of requests over the last
10 seconds.
|
int |
hashCode() |
void |
setP10(java.lang.Double p10)
The average latency for the slowest 90 percent of requests over the last
10 seconds.
|
void |
setP50(java.lang.Double p50)
The average latency for the slowest 50 percent of requests over the last
10 seconds.
|
void |
setP75(java.lang.Double p75)
The average latency for the slowest 25 percent of requests over the last
10 seconds.
|
void |
setP85(java.lang.Double p85)
The average latency for the slowest 15 percent of requests over the last
10 seconds.
|
void |
setP90(java.lang.Double p90)
The average latency for the slowest 10 percent of requests over the last
10 seconds.
|
void |
setP95(java.lang.Double p95)
The average latency for the slowest 5 percent of requests over the last
10 seconds.
|
void |
setP99(java.lang.Double p99)
The average latency for the slowest 1 percent of requests over the last
10 seconds.
|
void |
setP999(java.lang.Double p999)
The average latency for the slowest 0.1 percent of requests over the last
10 seconds.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Latency |
withP10(java.lang.Double p10)
The average latency for the slowest 90 percent of requests over the last
10 seconds.
|
Latency |
withP50(java.lang.Double p50)
The average latency for the slowest 50 percent of requests over the last
10 seconds.
|
Latency |
withP75(java.lang.Double p75)
The average latency for the slowest 25 percent of requests over the last
10 seconds.
|
Latency |
withP85(java.lang.Double p85)
The average latency for the slowest 15 percent of requests over the last
10 seconds.
|
Latency |
withP90(java.lang.Double p90)
The average latency for the slowest 10 percent of requests over the last
10 seconds.
|
Latency |
withP95(java.lang.Double p95)
The average latency for the slowest 5 percent of requests over the last
10 seconds.
|
Latency |
withP99(java.lang.Double p99)
The average latency for the slowest 1 percent of requests over the last
10 seconds.
|
Latency |
withP999(java.lang.Double p999)
The average latency for the slowest 0.1 percent of requests over the last
10 seconds.
|
private java.lang.Double p999
The average latency for the slowest 0.1 percent of requests over the last 10 seconds.
private java.lang.Double p99
The average latency for the slowest 1 percent of requests over the last 10 seconds.
private java.lang.Double p95
The average latency for the slowest 5 percent of requests over the last 10 seconds.
private java.lang.Double p90
The average latency for the slowest 10 percent of requests over the last 10 seconds.
private java.lang.Double p85
The average latency for the slowest 15 percent of requests over the last 10 seconds.
private java.lang.Double p75
The average latency for the slowest 25 percent of requests over the last 10 seconds.
private java.lang.Double p50
The average latency for the slowest 50 percent of requests over the last 10 seconds.
private java.lang.Double p10
The average latency for the slowest 90 percent of requests over the last 10 seconds.
public void setP999(java.lang.Double p999)
The average latency for the slowest 0.1 percent of requests over the last 10 seconds.
p999
- The average latency for the slowest 0.1 percent of requests over
the last 10 seconds.public java.lang.Double getP999()
The average latency for the slowest 0.1 percent of requests over the last 10 seconds.
public Latency withP999(java.lang.Double p999)
The average latency for the slowest 0.1 percent of requests over the last 10 seconds.
p999
- The average latency for the slowest 0.1 percent of requests over
the last 10 seconds.public void setP99(java.lang.Double p99)
The average latency for the slowest 1 percent of requests over the last 10 seconds.
p99
- The average latency for the slowest 1 percent of requests over the
last 10 seconds.public java.lang.Double getP99()
The average latency for the slowest 1 percent of requests over the last 10 seconds.
public Latency withP99(java.lang.Double p99)
The average latency for the slowest 1 percent of requests over the last 10 seconds.
p99
- The average latency for the slowest 1 percent of requests over the
last 10 seconds.public void setP95(java.lang.Double p95)
The average latency for the slowest 5 percent of requests over the last 10 seconds.
p95
- The average latency for the slowest 5 percent of requests over the
last 10 seconds.public java.lang.Double getP95()
The average latency for the slowest 5 percent of requests over the last 10 seconds.
public Latency withP95(java.lang.Double p95)
The average latency for the slowest 5 percent of requests over the last 10 seconds.
p95
- The average latency for the slowest 5 percent of requests over the
last 10 seconds.public void setP90(java.lang.Double p90)
The average latency for the slowest 10 percent of requests over the last 10 seconds.
p90
- The average latency for the slowest 10 percent of requests over
the last 10 seconds.public java.lang.Double getP90()
The average latency for the slowest 10 percent of requests over the last 10 seconds.
public Latency withP90(java.lang.Double p90)
The average latency for the slowest 10 percent of requests over the last 10 seconds.
p90
- The average latency for the slowest 10 percent of requests over
the last 10 seconds.public void setP85(java.lang.Double p85)
The average latency for the slowest 15 percent of requests over the last 10 seconds.
p85
- The average latency for the slowest 15 percent of requests over
the last 10 seconds.public java.lang.Double getP85()
The average latency for the slowest 15 percent of requests over the last 10 seconds.
public Latency withP85(java.lang.Double p85)
The average latency for the slowest 15 percent of requests over the last 10 seconds.
p85
- The average latency for the slowest 15 percent of requests over
the last 10 seconds.public void setP75(java.lang.Double p75)
The average latency for the slowest 25 percent of requests over the last 10 seconds.
p75
- The average latency for the slowest 25 percent of requests over
the last 10 seconds.public java.lang.Double getP75()
The average latency for the slowest 25 percent of requests over the last 10 seconds.
public Latency withP75(java.lang.Double p75)
The average latency for the slowest 25 percent of requests over the last 10 seconds.
p75
- The average latency for the slowest 25 percent of requests over
the last 10 seconds.public void setP50(java.lang.Double p50)
The average latency for the slowest 50 percent of requests over the last 10 seconds.
p50
- The average latency for the slowest 50 percent of requests over
the last 10 seconds.public java.lang.Double getP50()
The average latency for the slowest 50 percent of requests over the last 10 seconds.
public Latency withP50(java.lang.Double p50)
The average latency for the slowest 50 percent of requests over the last 10 seconds.
p50
- The average latency for the slowest 50 percent of requests over
the last 10 seconds.public void setP10(java.lang.Double p10)
The average latency for the slowest 90 percent of requests over the last 10 seconds.
p10
- The average latency for the slowest 90 percent of requests over
the last 10 seconds.public java.lang.Double getP10()
The average latency for the slowest 90 percent of requests over the last 10 seconds.
public Latency withP10(java.lang.Double p10)
The average latency for the slowest 90 percent of requests over the last 10 seconds.
p10
- The average latency for the slowest 90 percent of requests over
the last 10 seconds.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public Latency clone()
clone
in class java.lang.Object