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 classprivate class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate CommandStatusprivate static final org.slf4j.Loggerprivate static final longprivate final BootstrapCommandprivate final ScheduledExecutorServiceprivate final Durationprivate 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:BootstrapCommandGet Command Status on completion- Specified by:
getCommandStatusin interfaceBootstrapCommand- Returns:
- Command Status
-
run
public void run()
-