Class StartBootstrapCommand
java.lang.Object
org.apache.nifi.bootstrap.command.StartBootstrapCommand
- All Implemented Interfaces:
Runnable
,BootstrapCommand
Start Bootstrap Command executes the Run Command and monitors status
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate class
private class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate CommandStatus
private static final org.slf4j.Logger
private static final long
private final BootstrapCommand
private final ScheduledExecutorService
private final Duration
private final BootstrapCommand
-
Constructor Summary
ConstructorsConstructorDescriptionStartBootstrapCommand
(BootstrapCommand runCommand, BootstrapCommand statusCommand, Duration startWatchDelay) -
Method Summary
-
Field Details
-
MONITOR_INTERVAL
private static final long MONITOR_INTERVAL- See Also:
-
logger
private static final org.slf4j.Logger logger -
runCommand
-
statusCommand
-
startWatchDelay
-
scheduledExecutorService
-
commandStatus
-
-
Constructor Details
-
StartBootstrapCommand
StartBootstrapCommand(BootstrapCommand runCommand, BootstrapCommand statusCommand, Duration startWatchDelay)
-
-
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()
-