Interface PortStatisticsService


  • @Beta
    public interface PortStatisticsService
    Service for obtaining statistic information about device ports.
    • Method Detail

      • load

        Load load​(ConnectPoint connectPoint)
        Obtain the egress load for the given port in terms of bytes per second.
        Parameters:
        connectPoint - the port to query
        Returns:
        egress traffic load
      • load

        default Load load​(ConnectPoint connectPoint,
                          PortStatisticsService.MetricType metricType)
        Obtain the egress load for the given port in terms of the specified metric.
        Parameters:
        connectPoint - the port to query
        metricType - metric type
        Returns:
        egress traffic load