public class LatencyStats extends Object
| Constructor and Description |
|---|
LatencyStats() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Float |
getAvgLatency()
平均延时
|
Integer |
getMaxLatency()
最大延时
|
int |
hashCode() |
void |
setAvgLatency(Float avgLatency) |
void |
setMaxLatency(Integer maxLatency) |
String |
toString() |
LatencyStats |
withAvgLatency(Float avgLatency) |
LatencyStats |
withMaxLatency(Integer maxLatency) |
public LatencyStats withMaxLatency(Integer maxLatency)
public Integer getMaxLatency()
public void setMaxLatency(Integer maxLatency)
public LatencyStats withAvgLatency(Float avgLatency)
public Float getAvgLatency()
public void setAvgLatency(Float avgLatency)
Copyright © 2022. All rights reserved.