|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface IJobStatusManagerService
| Method Summary | |
|---|---|
JobStatus |
createJobStatus(JobInstance jobInstance,
long firstJobExecutionId)
This method creates an entry for a new job instance |
void |
createStepStatus(long jobInstanceId,
String stepId,
StepStatus newStepStatus)
Creates an entry for the step in the stepstatus table during jobsetup |
List<JobStatus> |
getAllJobStatus()
Returns a list of all jobstatus currently in the DB |
JobStatus |
getJobStatus(long jobInstanceId)
Returns the JobStatus for a given jobInstance id |
StepStatus |
getStepStatus(long jobInstanceId,
String stepId)
Gets the status for the given step belonging to the current job |
void |
updateEntireStepStatus(long jobInstanceId,
String stepId,
StepStatus newStepStatus)
|
void |
updateJobBatchStatus(long jobInstanceId,
ExecutionStatus.BatchStatus batchStatus)
|
void |
updateJobCurrentStep(long jobInstanceId,
String currentStepName)
Updates the current step of the job, updates the stepstatus to be IN SETUP and sends the update to the scheduler |
void |
updateJobExecutionStatus(long jobInstanceId,
ExecutionStatus.BatchStatus batchStatus,
String exitStatus)
|
void |
updateJobStatusFromJSLStop(long jobInstanceId,
String restartOn)
|
void |
updateJobStatusWithNewExecution(long jobInstanceId,
long newExecutionId)
|
| Methods inherited from interface com.ibm.batch.container.services.IBatchServiceBase |
|---|
init, shutdown |
| Method Detail |
|---|
JobStatus createJobStatus(JobInstance jobInstance,
long firstJobExecutionId)
throws BatchContainerServiceException
BatchContainerServiceException
JobStatus getJobStatus(long jobInstanceId)
throws BatchContainerServiceException
jobId -
BatchContainerServiceException
void updateJobBatchStatus(long jobInstanceId,
ExecutionStatus.BatchStatus batchStatus)
throws BatchContainerServiceException
BatchContainerServiceException
void updateJobExecutionStatus(long jobInstanceId,
ExecutionStatus.BatchStatus batchStatus,
String exitStatus)
throws BatchContainerServiceException
BatchContainerServiceException
void updateJobStatusFromJSLStop(long jobInstanceId,
String restartOn)
throws BatchContainerServiceException
BatchContainerServiceException
void updateJobStatusWithNewExecution(long jobInstanceId,
long newExecutionId)
throws BatchContainerServiceException
BatchContainerServiceException
void updateJobCurrentStep(long jobInstanceId,
String currentStepName)
throws BatchContainerServiceException
currentStepName -
BatchContainerServiceException
void createStepStatus(long jobInstanceId,
String stepId,
StepStatus newStepStatus)
throws BatchContainerServiceException
stepId -
BatchContainerServiceException
void updateEntireStepStatus(long jobInstanceId,
String stepId,
StepStatus newStepStatus)
throws BatchContainerServiceException
BatchContainerServiceException
List<JobStatus> getAllJobStatus()
throws BatchContainerServiceException
BatchContainerServiceException
StepStatus getStepStatus(long jobInstanceId,
String stepId)
throws BatchContainerServiceException
stepId -
BatchContainerServiceException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||