public class NetworkTrafficStats extends Object
| Constructor and Description |
|---|
NetworkTrafficStats() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Long |
getInputThroughput()
上行吞吐量(byte)
|
Long |
getOutputThroughput()
下行吞吐量(byte)
|
int |
hashCode() |
void |
setInputThroughput(Long inputThroughput) |
void |
setOutputThroughput(Long outputThroughput) |
String |
toString() |
NetworkTrafficStats |
withInputThroughput(Long inputThroughput) |
NetworkTrafficStats |
withOutputThroughput(Long outputThroughput) |
public NetworkTrafficStats withOutputThroughput(Long outputThroughput)
public Long getOutputThroughput()
public void setOutputThroughput(Long outputThroughput)
public NetworkTrafficStats withInputThroughput(Long inputThroughput)
public Long getInputThroughput()
public void setInputThroughput(Long inputThroughput)
Copyright © 2022. All rights reserved.