public class NetworkInterfaceStats
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
NetworkInterfaceStats.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
NetworkInterfaceStats() |
NetworkInterfaceStats(java.lang.Long collisions,
java.lang.String name,
java.lang.Long rxBytes,
java.lang.Long rxCrcErrors,
java.lang.Long rxDropped,
java.lang.Long rxErrors,
java.lang.Long rxFifoErrors,
java.lang.Long rxFrameErrors,
java.lang.Long rxLengthErrors,
java.lang.Long rxMissedErrors,
java.lang.Long rxOverErrors,
java.lang.Long rxPackets,
java.lang.Long txBytes,
java.lang.Long txCarrierErrors,
java.lang.Long txErrors,
java.lang.Long txFifoErrors,
java.lang.Long txPackets) |
Modifier and Type | Method and Description |
---|---|
NetworkInterfaceStats.Builder |
asBuilder() |
static NetworkInterfaceStats.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
java.lang.Long |
getCollisions()
Number of collisions detected
|
java.lang.String |
getName()
Name of the network interface.
|
java.lang.Long |
getRxBytes()
Total bytes received
|
java.lang.Long |
getRxCrcErrors()
Received packets with CRC error
|
java.lang.Long |
getRxDropped()
Number of dropped received packets
|
java.lang.Long |
getRxErrors()
Number of bad packets received
|
java.lang.Long |
getRxFifoErrors()
Number of FIFO overrun errors on receive
|
java.lang.Long |
getRxFrameErrors()
Received packets with frame alignment error
|
java.lang.Long |
getRxLengthErrors()
Received packets with length error
|
java.lang.Long |
getRxMissedErrors()
Number of packets missed by the receiver
|
java.lang.Long |
getRxOverErrors()
Number of receiver ring buff overflow errors
|
java.lang.Long |
getRxPackets()
Total packets received
|
java.lang.Long |
getTxBytes()
Total bytes transmitted
|
java.lang.Long |
getTxCarrierErrors()
Number of carrier errors on transmit
|
java.lang.Long |
getTxErrors()
Number of packet transmission errors
|
java.lang.Long |
getTxFifoErrors()
Number of FIFO overrun errors on transmit
|
java.lang.Long |
getTxPackets()
Total packets transmitted
|
int |
hashCode() |
void |
setCollisions(java.lang.Long collisions) |
void |
setName(java.lang.String name) |
void |
setRxBytes(java.lang.Long rxBytes) |
void |
setRxCrcErrors(java.lang.Long rxCrcErrors) |
void |
setRxDropped(java.lang.Long rxDropped) |
void |
setRxErrors(java.lang.Long rxErrors) |
void |
setRxFifoErrors(java.lang.Long rxFifoErrors) |
void |
setRxFrameErrors(java.lang.Long rxFrameErrors) |
void |
setRxLengthErrors(java.lang.Long rxLengthErrors) |
void |
setRxMissedErrors(java.lang.Long rxMissedErrors) |
void |
setRxOverErrors(java.lang.Long rxOverErrors) |
void |
setRxPackets(java.lang.Long rxPackets) |
void |
setTxBytes(java.lang.Long txBytes) |
void |
setTxCarrierErrors(java.lang.Long txCarrierErrors) |
void |
setTxErrors(java.lang.Long txErrors) |
void |
setTxFifoErrors(java.lang.Long txFifoErrors) |
void |
setTxPackets(java.lang.Long txPackets) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public NetworkInterfaceStats(java.lang.Long collisions, java.lang.String name, java.lang.Long rxBytes, java.lang.Long rxCrcErrors, java.lang.Long rxDropped, java.lang.Long rxErrors, java.lang.Long rxFifoErrors, java.lang.Long rxFrameErrors, java.lang.Long rxLengthErrors, java.lang.Long rxMissedErrors, java.lang.Long rxOverErrors, java.lang.Long rxPackets, java.lang.Long txBytes, java.lang.Long txCarrierErrors, java.lang.Long txErrors, java.lang.Long txFifoErrors, java.lang.Long txPackets)
public java.lang.Long getCollisions()
public void setCollisions(java.lang.Long collisions)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.Long getRxBytes()
public void setRxBytes(java.lang.Long rxBytes)
public java.lang.Long getRxCrcErrors()
public void setRxCrcErrors(java.lang.Long rxCrcErrors)
public java.lang.Long getRxDropped()
public void setRxDropped(java.lang.Long rxDropped)
public java.lang.Long getRxErrors()
public void setRxErrors(java.lang.Long rxErrors)
public java.lang.Long getRxFifoErrors()
public void setRxFifoErrors(java.lang.Long rxFifoErrors)
public java.lang.Long getRxFrameErrors()
public void setRxFrameErrors(java.lang.Long rxFrameErrors)
public java.lang.Long getRxLengthErrors()
public void setRxLengthErrors(java.lang.Long rxLengthErrors)
public java.lang.Long getRxMissedErrors()
public void setRxMissedErrors(java.lang.Long rxMissedErrors)
public java.lang.Long getRxOverErrors()
public void setRxOverErrors(java.lang.Long rxOverErrors)
public java.lang.Long getRxPackets()
public void setRxPackets(java.lang.Long rxPackets)
public java.lang.Long getTxBytes()
public void setTxBytes(java.lang.Long txBytes)
public java.lang.Long getTxCarrierErrors()
public void setTxCarrierErrors(java.lang.Long txCarrierErrors)
public java.lang.Long getTxErrors()
public void setTxErrors(java.lang.Long txErrors)
public java.lang.Long getTxFifoErrors()
public void setTxFifoErrors(java.lang.Long txFifoErrors)
public java.lang.Long getTxPackets()
public void setTxPackets(java.lang.Long txPackets)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.util.Map<java.lang.String,java.lang.Object> toMap()
public java.lang.String toString()
toString
in class java.lang.Object
public static NetworkInterfaceStats.Builder builder()
public final NetworkInterfaceStats.Builder asBuilder()