public interface JobClient
| Modifier and Type | Method and Description |
|---|---|
JobStatus |
getStatus(JobId id)
Obtains and returns the job information.
|
JobId |
register(JobScript script)
Creates a new job.
|
void |
submit(JobId id)
Request to execute the registered job.
|
JobId register(JobScript script) throws IOException, InterruptedException
script - the job scriptIOException - if failed to create a new jobInterruptedException - if interruptedIllegalArgumentException - if some parameters were nullvoid submit(JobId id) throws IOException, InterruptedException
id - the target job IDIOException - if failed to request the jobInterruptedException - if interruptedIllegalArgumentException - if some parameters were nullJobStatus getStatus(JobId id) throws IOException, InterruptedException
id - the target job IDIOException - if failed to obtain the informationInterruptedException - if interruptedIllegalArgumentException - if some parameters were nullCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.