public class JobLauncher
extends java.lang.Object
implements java.lang.Runnable
| Constructor and Description |
|---|
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 io.micrometer.core.instrument.MeterRegistry 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
@NotNull JobSubmitterService jobSubmitterService,
@NotNull
@NotNull JobRequest jobRequest,
@NotNull
@NotNull Cluster cluster,
@NotNull
@NotNull Command command,
@NotNull
@NotNull java.util.List<Application> applications,
@Min(value=1L)
@Min(value=1L) int memory,
@NotNull
@NotNull io.micrometer.core.instrument.MeterRegistry 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