public class LocalTaskLauncher extends AbstractLocalDeployerSupport implements TaskLauncher
TaskLauncher implementation that spins off a new JVM process per task launch.AbstractLocalDeployerSupport.Instance| Constructor and Description |
|---|
LocalTaskLauncher(LocalDeployerProperties properties)
Instantiates a new local task launcher.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancel(String id) |
String |
launch(AppDeploymentRequest request) |
void |
shutdown() |
TaskStatus |
status(String id) |
buildProcessBuilder, getLocalDeployerProperties, isAlive, retainEnvVars, shutdownAndWaitpublic LocalTaskLauncher(LocalDeployerProperties properties)
properties - the propertiespublic String launch(AppDeploymentRequest request)
launch in interface TaskLauncherpublic void cancel(String id)
cancel in interface TaskLauncherpublic TaskStatus status(String id)
status in interface TaskLauncher@PreDestroy public void shutdown() throws Exception
ExceptionCopyright © 2016 Pivotal Software, Inc.. All rights reserved.