@Beta
public interface PortStatisticsService
| Modifier and Type | Interface and Description |
|---|---|
static class |
PortStatisticsService.MetricType
Specifies the type of metric.
|
| Modifier and Type | Method and Description |
|---|---|
org.onosproject.net.statistic.Load |
load(org.onosproject.net.ConnectPoint connectPoint)
Obtain the egress load for the given port in terms of bytes per second.
|
default org.onosproject.net.statistic.Load |
load(org.onosproject.net.ConnectPoint connectPoint,
PortStatisticsService.MetricType metricType)
Obtain the egress load for the given port in terms of the specified metric.
|
org.onosproject.net.statistic.Load load(org.onosproject.net.ConnectPoint connectPoint)
connectPoint - the port to querydefault org.onosproject.net.statistic.Load load(org.onosproject.net.ConnectPoint connectPoint,
PortStatisticsService.MetricType metricType)
connectPoint - the port to querymetricType - metric type