public class ContainerLauncherRunner extends Object implements org.springframework.boot.CommandLineRunner
CommandLineRunner to run Spring Yarn container.| Constructor and Description |
|---|
ContainerLauncherRunner() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
launchContainer(org.springframework.yarn.container.YarnContainer container,
String[] parameters) |
void |
run(String... args) |
void |
setWaitLatch(boolean waitLatch) |
public void run(String... args) throws Exception
run in interface org.springframework.boot.CommandLineRunnerExceptionpublic void setWaitLatch(boolean waitLatch)
protected void launchContainer(org.springframework.yarn.container.YarnContainer container,
String[] parameters)