public interface PortStatistics
Modifier and Type | Method and Description |
---|---|
long |
bytesReceived()
Returns the bytes received.
|
long |
bytesSent()
Returns the bytes sent.
|
long |
durationNano()
Returns the time port has been alive in nano seconds.
|
long |
durationSec()
Returns the time port has been alive in seconds.
|
boolean |
isZero()
Returns true if all the port stats are zero, excluding TxErrors and RxErrors.
|
long |
packetsReceived()
Returns the number of packets received.
|
long |
packetsRxDropped()
Returns the number of packets dropped by RX.
|
long |
packetsRxErrors()
Returns the number of transmit errors.
|
long |
packetsSent()
Returns the number of packets sent.
|
long |
packetsTxDropped()
Returns the number of packets dropped by TX.
|
long |
packetsTxErrors()
Returns the number of receive errors.
|
int |
port()
Deprecated.
ONOS 1.12 Magpie please use portNumber()
|
PortNumber |
portNumber()
Returns the port number.
|
@Deprecated int port()
PortNumber portNumber()
long packetsReceived()
long packetsSent()
long bytesReceived()
long bytesSent()
long packetsRxDropped()
long packetsTxDropped()
long packetsRxErrors()
long packetsTxErrors()
long durationSec()
long durationNano()
boolean isZero()