Interface ControlLoad

  • All Superinterfaces:
    Load

    public interface ControlLoad
    extends Load
    Data repository for control plane load information.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long[] all()
      Obtains all metrics.
      long average()
      Obtains the average of all time duration.
      long average​(int duration, java.util.concurrent.TimeUnit unit)
      Obtains the average of the specified time duration.
      long[] recent​(int duration, java.util.concurrent.TimeUnit unit)
      Obtains the most recent metric values of the specified time duration.
    • Method Detail

      • average

        long average​(int duration,
                     java.util.concurrent.TimeUnit unit)
        Obtains the average of the specified time duration.
        Parameters:
        duration - time duration
        unit - time unit
        Returns:
        average control plane metric value
      • average

        long average()
        Obtains the average of all time duration.
        Returns:
        average control plane metric value
      • recent

        long[] recent​(int duration,
                      java.util.concurrent.TimeUnit unit)
        Obtains the most recent metric values of the specified time duration.
        Parameters:
        duration - time duration
        unit - time unit
        Returns:
        a collection of the most recent metric values
      • all

        long[] all()
        Obtains all metrics.
        Returns:
        a collection of the all metric values