Interface Load

  • All Known Subinterfaces:
    ControlLoad
    All Known Implementing Classes:
    DefaultLoad

    public interface Load
    Simple data repository for link load information.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean isValid()
      Indicates whether this load was built on valid values.
      long latest()
      Obtain the latest bytes counter viewed on that link.
      long rate()
      Obtain the current observed rate (in bytes/s) on a link.
      long time()
      Returns when this value was seen.
    • Method Detail

      • rate

        long rate()
        Obtain the current observed rate (in bytes/s) on a link.
        Returns:
        long value
      • latest

        long latest()
        Obtain the latest bytes counter viewed on that link.
        Returns:
        long value
      • isValid

        boolean isValid()
        Indicates whether this load was built on valid values.
        Returns:
        boolean
      • time

        long time()
        Returns when this value was seen.
        Returns:
        epoch time