Interface ExecutableComponent.Signals

  • Enclosing interface:
    ExecutableComponent

    public static interface ExecutableComponent.Signals
    Definition of the constants for signals that could be interpreted by execution environments. These may be extended to allow further signals. When extending make sure not to use the same values for the constants!
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int ALIVE
      The signal to check for whether an executable component is still alive.
      static int CLOSE
      The component should be closed normally (value is 7 << 0).
      static int FAIL
      The component should be failed/aborted (value is 7 << 10).
      static int KILL
      The component has received a kill request (value is 7 << 11).
      static int NO_ALIVE
      The signal to indicate that an executable component is no longer alive.
      static int NO_SIGNAL
      There has not been a signal yet (value is Integer.MIN_VALUE).
      static int RESET
      The component should be reset (value is 7 << 2).
      static int SUSPEND
      The component should be suspended (value is 7 << 1).
    • Field Detail

      • FAIL

        static final int FAIL
        The component should be failed/aborted (value is 7 << 10).
        See Also:
        Constant Field Values
      • KILL

        static final int KILL
        The component has received a kill request (value is 7 << 11).
        See Also:
        Constant Field Values
      • RESET

        static final int RESET
        The component should be reset (value is 7 << 2).
        See Also:
        Constant Field Values
      • SUSPEND

        static final int SUSPEND
        The component should be suspended (value is 7 << 1).
        See Also:
        Constant Field Values
      • CLOSE

        static final int CLOSE
        The component should be closed normally (value is 7 << 0).
        See Also:
        Constant Field Values
      • NO_SIGNAL

        static final int NO_SIGNAL
        There has not been a signal yet (value is Integer.MIN_VALUE).
        See Also:
        Constant Field Values
      • ALIVE

        static final int ALIVE
        The signal to check for whether an executable component is still alive.
        See Also:
        Constant Field Values
      • NO_ALIVE

        static final int NO_ALIVE
        The signal to indicate that an executable component is no longer alive. Actually this is no real signal but the absence of a signal. It indicates, that the executable component has not responded to an ALIVE signal.
        See Also:
        Constant Field Values