@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 |
---|---|
Load |
load(ConnectPoint connectPoint)
Obtain the egress load for the given port in terms of bytes per second.
|
default Load |
load(ConnectPoint connectPoint,
PortStatisticsService.MetricType metricType)
Obtain the egress load for the given port in terms of the specified metric.
|
Load load(ConnectPoint connectPoint)
connectPoint
- the port to querydefault Load load(ConnectPoint connectPoint, PortStatisticsService.MetricType metricType)
connectPoint
- the port to querymetricType
- metric type