|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.batch.container.services.impl.JobStatusManagerImpl
public class JobStatusManagerImpl
| Constructor Summary | |
|---|---|
JobStatusManagerImpl()
|
|
| 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 |
init(IBatchConfig batchConfig)
|
void |
shutdown()
|
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 class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JobStatusManagerImpl()
| Method Detail |
|---|
public void shutdown()
throws BatchContainerServiceException
shutdown in interface IBatchServiceBaseBatchContainerServiceException
public JobStatus createJobStatus(JobInstance jobInstance,
long firstJobExecutionId)
throws BatchContainerServiceException
IJobStatusManagerService
createJobStatus in interface IJobStatusManagerServiceBatchContainerServiceException
public JobStatus getJobStatus(long jobInstanceId)
throws BatchContainerServiceException
IJobStatusManagerService
getJobStatus in interface IJobStatusManagerServiceBatchContainerServiceException
public void updateJobBatchStatus(long jobInstanceId,
ExecutionStatus.BatchStatus batchStatus)
throws BatchContainerServiceException
updateJobBatchStatus in interface IJobStatusManagerServiceBatchContainerServiceException
public void updateJobExecutionStatus(long jobInstanceId,
ExecutionStatus.BatchStatus batchStatus,
String exitStatus)
throws BatchContainerServiceException
updateJobExecutionStatus in interface IJobStatusManagerServiceBatchContainerServiceException
public void updateJobCurrentStep(long jobInstanceId,
String currentStepName)
throws BatchContainerServiceException
IJobStatusManagerService
updateJobCurrentStep in interface IJobStatusManagerServiceBatchContainerServiceException
public void updateJobStatusWithNewExecution(long jobInstanceId,
long newExecutionId)
throws BatchContainerServiceException
updateJobStatusWithNewExecution in interface IJobStatusManagerServiceBatchContainerServiceException
public void createStepStatus(long jobInstanceId,
String stepId,
StepStatus newStepStatus)
throws BatchContainerServiceException
IJobStatusManagerService
createStepStatus in interface IJobStatusManagerServiceBatchContainerServiceException
public StepStatus getStepStatus(long jobInstanceId,
String stepId)
throws BatchContainerServiceException
IJobStatusManagerService
getStepStatus in interface IJobStatusManagerServiceBatchContainerServiceException
public void updateEntireStepStatus(long jobInstanceId,
String stepId,
StepStatus newStepStatus)
updateEntireStepStatus in interface IJobStatusManagerService
public void init(IBatchConfig batchConfig)
throws BatchContainerServiceException
init in interface IBatchServiceBaseBatchContainerServiceException
public List<JobStatus> getAllJobStatus()
throws BatchContainerServiceException
IJobStatusManagerService
getAllJobStatus in interface IJobStatusManagerServiceBatchContainerServiceException
public void updateJobStatusFromJSLStop(long jobInstanceId,
String restartOn)
throws BatchContainerServiceException
updateJobStatusFromJSLStop in interface IJobStatusManagerServiceBatchContainerServiceException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||