public class JobLauncher
extends java.lang.Object
implements java.lang.Runnable
| Constructor and Description |
|---|
JobLauncher(JobSubmitterService jobSubmitterService,
JobRequest jobRequest,
Cluster cluster,
Command command,
java.util.List<Application> applications,
int memory,
com.netflix.spectator.api.Registry registry)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
run()
Starts the job setup and launch process once the thread is activated.
|
public JobLauncher(@NotNull
JobSubmitterService jobSubmitterService,
@NotNull
JobRequest jobRequest,
@NotNull
Cluster cluster,
@NotNull
Command command,
@NotNull
java.util.List<Application> applications,
@Min(value=1L)
int memory,
@NotNull
com.netflix.spectator.api.Registry registry)
jobSubmitterService - The job submission service to usejobRequest - The job request to be submittedcluster - The cluster to use for the jobcommand - The command to use for the jobapplications - The applications to use for the job (if any)memory - The amount of memory (in MB) to use to run the jobregistry - The registry to use for metrics