public interface JobMasterClient extends Client
| Modifier and Type | Interface and Description |
|---|---|
static class |
JobMasterClient.Factory
Factory for
JobMasterClient. |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel(long id)
Cancels the given job.
|
java.util.List<JobWorkerHealth> |
getAllWorkerHealth()
Gets all worker health.
|
JobServiceSummary |
getJobServiceSummary()
Gets the job service summary.
|
JobInfo |
getJobStatus(long id)
Gets the status of the given job id.
|
JobInfo |
getJobStatusDetailed(long id)
Gets detailed status of the given job id.
|
java.util.List<java.lang.Long> |
list() |
java.util.List<JobInfo> |
listDetailed() |
long |
run(JobConfig jobConfig)
Starts a plan based on the given configuration.
|
connect, disconnect, getAddress, getConfAddress, isClosed, isConnectedvoid cancel(long id)
throws java.io.IOException
id - the job idjava.io.IOExceptionJobInfo getJobStatus(long id) throws java.io.IOException
id - the job idjava.io.IOExceptionJobInfo getJobStatusDetailed(long id) throws java.io.IOException
id - the job idjava.io.IOExceptionJobServiceSummary getJobServiceSummary() throws java.io.IOException
java.io.IOExceptionjava.util.List<java.lang.Long> list()
throws java.io.IOException
java.io.IOExceptionjava.util.List<JobInfo> listDetailed() throws java.io.IOException
java.io.IOExceptionlong run(JobConfig jobConfig) throws java.io.IOException
jobConfig - the job configurationjava.io.IOExceptionjava.util.List<JobWorkerHealth> getAllWorkerHealth() throws java.io.IOException
java.io.IOExceptionCopyright © 2021. All Rights Reserved.