Class ApplicationProcessStatusBootstrapCommand
java.lang.Object
org.apache.nifi.bootstrap.command.ApplicationProcessStatusBootstrapCommand
- All Implemented Interfaces:
Runnable
,BootstrapCommand
Bootstrap Command to return the status of the application process as a child of the bootstrap process
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate CommandStatus
private static final org.slf4j.Logger
private final ProcessHandle
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
logger
private static final org.slf4j.Logger logger -
processHandle
-
commandStatus
-
-
Constructor Details
-
ApplicationProcessStatusBootstrapCommand
ApplicationProcessStatusBootstrapCommand(ProcessHandle processHandle)
-
-
Method Details
-
getCommandStatus
Description copied from interface:BootstrapCommand
Get Command Status on completion- Specified by:
getCommandStatus
in interfaceBootstrapCommand
- Returns:
- Command Status
-
run
public void run()
-