public interface ILauncher
extends java.lang.AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Cleanup any resources
|
void |
initialize(Config config)
Initialize with the configuration
|
boolean |
killJob(java.lang.String jobID)
kill the submitted job
|
Twister2JobState |
launch(JobAPI.Job job)
Launch the processes according to the requested resources.
|
void initialize(Config config)
config - the configurationvoid close()
close in interface java.lang.AutoCloseableboolean killJob(java.lang.String jobID)
Twister2JobState launch(JobAPI.Job job)