com.ibm.jbatch.container.services.impl
Class JobStatusManagerImpl
java.lang.Object
com.ibm.jbatch.container.services.impl.JobStatusManagerImpl
- All Implemented Interfaces:
- IJobStatusManagerService, IBatchServiceBase
public class JobStatusManagerImpl
- extends Object
- implements IJobStatusManagerService
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JobStatusManagerImpl
public JobStatusManagerImpl()
shutdown
public void shutdown()
throws BatchContainerServiceException
- Specified by:
shutdown in interface IBatchServiceBase
- Throws:
BatchContainerServiceException
createJobStatus
public JobStatus createJobStatus(long jobInstanceId)
throws BatchContainerServiceException
- Description copied from interface:
IJobStatusManagerService
- This method creates an entry for a new job instance
- Specified by:
createJobStatus in interface IJobStatusManagerService
- Throws:
BatchContainerServiceException
getJobStatus
public JobStatus getJobStatus(long jobInstanceId)
throws BatchContainerServiceException
- Description copied from interface:
IJobStatusManagerService
- Returns the JobStatus for a given jobInstance id
- Specified by:
getJobStatus in interface IJobStatusManagerService
- Returns:
-
- Throws:
BatchContainerServiceException
updateJobStatus
public void updateJobStatus(JobStatus jobStatus)
- Specified by:
updateJobStatus in interface IJobStatusManagerService
getJobStatusFromExecutionId
public JobStatus getJobStatusFromExecutionId(long executionId)
throws BatchContainerServiceException
- Specified by:
getJobStatusFromExecutionId in interface IJobStatusManagerService
- Throws:
BatchContainerServiceException
updateJobBatchStatus
public void updateJobBatchStatus(long jobInstanceId,
BatchStatus batchStatus)
throws BatchContainerServiceException
- Specified by:
updateJobBatchStatus in interface IJobStatusManagerService
- Throws:
BatchContainerServiceException
updateJobExecutionStatus
public void updateJobExecutionStatus(long jobInstanceId,
BatchStatus batchStatus,
String exitStatus)
throws BatchContainerServiceException
- Specified by:
updateJobExecutionStatus in interface IJobStatusManagerService
- Throws:
BatchContainerServiceException
updateJobCurrentStep
public void updateJobCurrentStep(long jobInstanceId,
String currentStepName)
throws BatchContainerServiceException
- Specified by:
updateJobCurrentStep in interface IJobStatusManagerService
- Throws:
BatchContainerServiceException
updateJobStatusWithNewExecution
public void updateJobStatusWithNewExecution(long jobInstanceId,
long newExecutionId)
throws BatchContainerServiceException
- Specified by:
updateJobStatusWithNewExecution in interface IJobStatusManagerService
- Throws:
BatchContainerServiceException
createStepStatus
public StepStatus createStepStatus(long stepExecutionId)
throws BatchContainerServiceException
- Description copied from interface:
IJobStatusManagerService
- Creates an entry for the step in the stepstatus table during jobsetup
- Specified by:
createStepStatus in interface IJobStatusManagerService
- Throws:
BatchContainerServiceException
getStepStatus
public StepStatus getStepStatus(long jobInstanceId,
String stepId)
throws BatchContainerServiceException
- Specified by:
getStepStatus in interface IJobStatusManagerService
- Throws:
BatchContainerServiceException
updateStepStatus
public void updateStepStatus(long stepExecutionId,
StepStatus newStepStatus)
- Specified by:
updateStepStatus in interface IJobStatusManagerService
init
public void init(IBatchConfig batchConfig)
throws BatchContainerServiceException
- Specified by:
init in interface IBatchServiceBase
- Throws:
BatchContainerServiceException
updateJobStatusFromJSLStop
public void updateJobStatusFromJSLStop(long jobInstanceId,
String restartOn)
throws BatchContainerServiceException
- Specified by:
updateJobStatusFromJSLStop in interface IJobStatusManagerService
- Throws:
BatchContainerServiceException
Copyright © 2013. All Rights Reserved.