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, shutdownAndWait
public LocalTaskLauncher(LocalDeployerProperties properties)
properties
- the propertiespublic String launch(AppDeploymentRequest request)
launch
in interface TaskLauncher
public void cancel(String id)
cancel
in interface TaskLauncher
public TaskStatus status(String id)
status
in interface TaskLauncher
@PreDestroy public void shutdown() throws Exception
Exception
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.