| Package | Description |
|---|---|
| org.onosproject.net.device |
Infrastructure device model & related services API definitions.
|
| Modifier and Type | Method and Description |
|---|---|
static DefaultPortStatistics.Builder |
DefaultPortStatistics.builder()
Creates a builder for DefaultPortStatistics object.
|
DefaultPortStatistics.Builder |
DefaultPortStatistics.Builder.setBytesReceived(long bytes)
Sets the number of received bytes.
|
DefaultPortStatistics.Builder |
DefaultPortStatistics.Builder.setBytesSent(long bytes)
Sets the number of sent bytes.
|
DefaultPortStatistics.Builder |
DefaultPortStatistics.Builder.setDeviceId(DeviceId deviceId)
Sets the device identifier.
|
DefaultPortStatistics.Builder |
DefaultPortStatistics.Builder.setDurationNano(long nano)
Sets the time port has been alive in nano seconds.
|
DefaultPortStatistics.Builder |
DefaultPortStatistics.Builder.setDurationSec(long sec)
Sets the time port has been alive in seconds.
|
DefaultPortStatistics.Builder |
DefaultPortStatistics.Builder.setPacketsReceived(long packets)
Sets the number of packet received.
|
DefaultPortStatistics.Builder |
DefaultPortStatistics.Builder.setPacketsRxDropped(long packets)
Sets the number of packets dropped by RX.
|
DefaultPortStatistics.Builder |
DefaultPortStatistics.Builder.setPacketsRxErrors(long packets)
Sets the number of receive errors.
|
DefaultPortStatistics.Builder |
DefaultPortStatistics.Builder.setPacketsSent(long packets)
Sets the number of packets sent.
|
DefaultPortStatistics.Builder |
DefaultPortStatistics.Builder.setPacketsTxDropped(long packets)
Sets the number of packets dropped by TX.
|
DefaultPortStatistics.Builder |
DefaultPortStatistics.Builder.setPacketsTxErrors(long packets)
Sets the number of transmit errors.
|
DefaultPortStatistics.Builder |
DefaultPortStatistics.Builder.setPort(int port)
Sets port number.
|
Copyright © 2015. All rights reserved.