public interface IlrSSPAsyncOperations
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the SSP async system and releases all referenced resources.
|
java.lang.String |
createJob(IlrScenarioSuiteDescriptor suiteDescriptor)
Creates a new async job for a specific suite descriptor, then launches
it as a background task.
|
IlrSSPJobDescription |
getJob(java.lang.String jobId)
Returns the job description that matches a job ID.
|
IlrSSPJobResult |
getJobResult(java.lang.String jobId)
Returns the result for a specific job.
|
java.util.Set<IlrSSPJobDescription> |
getJobs()
Returns the set of job descriptions in the SSP.
|
void |
killJob(java.lang.String jobId)
Sends the kill signal to a job.
|
java.util.Set<IlrSSPJobDescription> getJobs() throws IlrRunnerException
IlrRunnerException - if an error occurs listing job descriptions.java.lang.String createJob(IlrScenarioSuiteDescriptor suiteDescriptor) throws IlrRunnerException
IlrRunnerException - if an error occurs creating the job.suiteDescriptor - The suite descriptor for the job.IlrSSPJobResult getJobResult(java.lang.String jobId) throws IlrRunnerException
IlrRunnerException - if an error occurs retrieving the
job result, or if the job has not yet completed.jobId - The ID of the job. This is the value returned by calling
createJob().jobId,
null is returned.void killJob(java.lang.String jobId)
throws IlrRunnerException
IlrRunnerException - if an internal error occurs while marking
the job as killed.jobId - The ID of the job to kill.IlrSSPJobDescription getJob(java.lang.String jobId) throws IlrRunnerException
IlrRunnerException - if an error occurs retrieving the
job description.jobId - The job ID.jobId,
null is returned.void close()
© Copyright IBM Corp. 1987, 2017