Interface DiagnosticsControl

  • All Superinterfaces:
    javax.media.Control

    public interface DiagnosticsControl
    extends javax.media.Control
    Defines an FMJ Control which allows the diagnosis of the functional health of a procedure/process.
    Author:
    Lyubomir Marinov
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long NEVER
      The constant which expresses a non-existent time in milliseconds for the purposes of getMalfunctioningSince().
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long getMalfunctioningSince()
      Gets the time in milliseconds at which the associated procedure/process has started malfunctioning.
      String toString()
      Returns a human-readable String representation of the associated procedure/process.
      • Methods inherited from interface javax.media.Control

        getControlComponent
    • Field Detail

      • NEVER

        static final long NEVER
        The constant which expresses a non-existent time in milliseconds for the purposes of getMalfunctioningSince(). Explicitly chosen to be 0 rather than -1 in the name of efficiency.
        See Also:
        Constant Field Values
    • Method Detail

      • getMalfunctioningSince

        long getMalfunctioningSince()
        Gets the time in milliseconds at which the associated procedure/process has started malfunctioning.
        Returns:
        the time in milliseconds at which the associated procedure/process has started malfunctioning or NEVER if the associated procedure/process is functioning normally
      • toString

        String toString()
        Returns a human-readable String representation of the associated procedure/process.
        Overrides:
        toString in class Object
        Returns:
        a human-readable String representation of the associated procedure/process