com.ibm.jbatch.container.services
Interface IBatchKernelService
- All Superinterfaces:
- IBatchServiceBase
- All Known Implementing Classes:
- BatchKernelImpl
public interface IBatchKernelService
- extends IBatchServiceBase
getJobExecution
IJobExecution getJobExecution(long executionId)
throws NoSuchJobExecutionException
- Throws:
NoSuchJobExecutionException
restartJob
IJobExecution restartJob(long executionID)
throws JobRestartException,
JobExecutionAlreadyCompleteException,
JobExecutionNotMostRecentException,
NoSuchJobExecutionException
- Throws:
JobRestartException
JobExecutionAlreadyCompleteException
JobExecutionNotMostRecentException
NoSuchJobExecutionException
restartJob
IJobExecution restartJob(long executionID,
Properties overrideJobParameters)
throws JobRestartException,
JobExecutionAlreadyCompleteException,
JobExecutionNotMostRecentException,
NoSuchJobExecutionException
- Throws:
JobRestartException
JobExecutionAlreadyCompleteException
JobExecutionNotMostRecentException
NoSuchJobExecutionException
startJob
IJobExecution startJob(String jobXML)
throws JobStartException
- Throws:
JobStartException
startJob
IJobExecution startJob(String jobXML,
Properties jobParameters)
throws JobStartException
- Throws:
JobStartException
stopJob
void stopJob(long executionID)
throws NoSuchJobExecutionException,
JobExecutionNotRunningException
- Throws:
NoSuchJobExecutionException
JobExecutionNotRunningException
jobExecutionDone
void jobExecutionDone(RuntimeJobExecution jobExecution)
getJobInstanceCount
int getJobInstanceCount(String jobName)
getJobInstance
JobInstance getJobInstance(long instanceId)
getBatchSecurityHelper
BatchSecurityHelper getBatchSecurityHelper()
buildNewParallelPartitions
List<BatchPartitionWorkUnit> buildNewParallelPartitions(PartitionsBuilderConfig config)
throws JobRestartException,
JobStartException
- Throws:
JobRestartException
JobStartException
buildOnRestartParallelPartitions
List<BatchPartitionWorkUnit> buildOnRestartParallelPartitions(PartitionsBuilderConfig config)
throws JobRestartException,
JobExecutionAlreadyCompleteException,
JobExecutionNotMostRecentException
- Throws:
JobRestartException
JobExecutionAlreadyCompleteException
JobExecutionNotMostRecentException
startGeneratedJob
void startGeneratedJob(BatchWorkUnit batchWork)
restartGeneratedJob
void restartGeneratedJob(BatchWorkUnit batchWork)
throws JobRestartException
- Throws:
JobRestartException
isExecutionRunning
boolean isExecutionRunning(long executionId)
buildNewFlowInSplitWorkUnit
BatchFlowInSplitWorkUnit buildNewFlowInSplitWorkUnit(FlowInSplitBuilderConfig config)
buildOnRestartFlowInSplitWorkUnit
BatchFlowInSplitWorkUnit buildOnRestartFlowInSplitWorkUnit(FlowInSplitBuilderConfig config)
Copyright © 2013. All Rights Reserved.