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
FieldsModifier and TypeFieldDescriptionstatic final intThe signal to check for whether an executable component is still alive.static final intThe component should be closed normally (value is 7 << 0).static final intThe component should be failed/aborted (value is 7 << 10).static final intThe component has received a kill request (value is 7 << 11).static final intThe signal to indicate that an executable component is no longer alive.static final intThere has not been a signal yet (value isInteger.MIN_VALUE).static final intThe component should be reset (value is 7 << 2).static final intThe component should be suspended (value is 7 << 1).
-
Field Details
-
FAIL
static final int FAILThe component should be failed/aborted (value is 7 << 10).- See Also:
-
KILL
static final int KILLThe component has received a kill request (value is 7 << 11).- See Also:
-
RESET
static final int RESETThe component should be reset (value is 7 << 2).- See Also:
-
SUSPEND
static final int SUSPENDThe component should be suspended (value is 7 << 1).- See Also:
-
CLOSE
static final int CLOSEThe component should be closed normally (value is 7 << 0).- See Also:
-
NO_SIGNAL
static final int NO_SIGNALThere has not been a signal yet (value isInteger.MIN_VALUE).- See Also:
-
ALIVE
static final int ALIVEThe signal to check for whether an executable component is still alive.- See Also:
-
NO_ALIVE
static final int NO_ALIVEThe 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 anALIVEsignal.- See Also:
-