public interface JManagement
Modifier and Type | Method and Description |
---|---|
boolean |
cancelJob(java.lang.String jobId)
Stop running the job
jobId but leave its output untouched |
JobStatus |
getJobStatus(java.lang.String jobId)
Return the status of the job.
|
ChunkHolder |
pullExecStatistics(java.lang.String jobId,
long position)
Reads 1kb chunk from the statistics file which is specific to a given web
service from the
position . |
boolean cancelJob(java.lang.String jobId)
jobId
but leave its output untouchedjava.security.InvalidParameterException
- is thrown if jobId is empty or cannot be recognised e.g. in
invalid formatJobStatus getJobStatus(java.lang.String jobId)
jobId
- - unique job identifierjava.security.InvalidParameterException
- is thrown if jobId is empty or cannot be recognised e.g. in
invalid formatJobStatus
ChunkHolder pullExecStatistics(java.lang.String jobId, long position)
position
. If in time of a request less then
1kb data is available from the position to the end of the file, then it
returns all the data available from the position to the end of the file.jobId
- - unique job identifierposition
- - next position within the file to readjava.security.InvalidParameterException
- thrown if jobId is empty or cannot be recognised e.g. in
invalid format and also if the position value is negativeChunkHolder