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.
|
JobServiceSummary |
getJobServiceSummary()
Gets the job service summary.
|
JobInfo |
getStatus(long id)
Gets the status of the given job.
|
List<Long> |
list() |
long |
run(JobConfig jobConfig)
Starts a job based on the given configuration.
|
connect, disconnect, getAddress, getConfAddress, isClosed, isConnected
void cancel(long id) throws IOException
id
- the job idIOException
JobInfo getStatus(long id) throws IOException
id
- the job idIOException
JobServiceSummary getJobServiceSummary() throws IOException
IOException
List<Long> list() throws IOException
IOException
long run(JobConfig jobConfig) throws IOException
jobConfig
- the job configurationIOException
Copyright © 2023. All Rights Reserved.