org.springframework.yarn.boot.support
Class ContainerLauncherRunner
java.lang.Object
org.springframework.yarn.boot.support.ContainerLauncherRunner
- All Implemented Interfaces:
- org.springframework.boot.CommandLineRunner
public class ContainerLauncherRunner
- extends Object
- implements org.springframework.boot.CommandLineRunner
CommandLineRunner to run Spring Yarn container.
- Author:
- Janne Valkealahti
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContainerLauncherRunner
public ContainerLauncherRunner()
run
public void run(String... args)
throws Exception
- Specified by:
run in interface org.springframework.boot.CommandLineRunner
- Throws:
Exception
setWaitLatch
public void setWaitLatch(boolean waitLatch)
launchContainer
protected void launchContainer(org.springframework.yarn.container.YarnContainer container,
String[] parameters)