|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JManagement
Method Summary | |
---|---|
boolean |
cancelJob(String jobId)
Stop running the job jobId but leave its output untouched |
JobStatus |
getJobStatus(String jobId)
Return the status of the job. |
ChunkHolder |
pullExecStatistics(String jobId,
long position)
Reads 1kb chunk from the statistics file which is specific to a given web service from the position . |
Method Detail |
---|
boolean cancelJob(String jobId)
jobId
but leave its output untouched
InvalidParameterException
- is thrown if jobId is empty or cannot be recognised e.g. in
invalid formatJobStatus getJobStatus(String jobId)
jobId
- - unique job identifier
InvalidParameterException
- is thrown if jobId is empty or cannot be recognised e.g. in
invalid formatJobStatus
ChunkHolder pullExecStatistics(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 read
InvalidParameterException
- thrown if jobId is empty or cannot be recognised e.g. in
invalid format and also if the position value is negativeChunkHolder
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |