public class BatchKernelImpl extends Object implements IBatchKernelService
| Constructor and Description |
|---|
BatchKernelImpl() |
public BatchSecurityHelper getBatchSecurityHelper()
getBatchSecurityHelper in interface IBatchKernelServicepublic void init(IBatchConfig pgcConfig) throws BatchContainerServiceException
init in interface IBatchServiceBaseBatchContainerServiceExceptionpublic void shutdown()
throws BatchContainerServiceException
shutdown in interface IBatchServiceBaseBatchContainerServiceExceptionpublic IJobExecution startJob(String jobXML) throws JobStartException
startJob in interface IBatchKernelServiceJobStartExceptionpublic IJobExecution startJob(String jobXML, Properties jobParameters) throws JobStartException
startJob in interface IBatchKernelServiceJobStartExceptionpublic void stopJob(long executionId)
throws NoSuchJobExecutionException,
JobExecutionNotRunningException
stopJob in interface IBatchKernelServiceNoSuchJobExecutionExceptionJobExecutionNotRunningExceptionpublic IJobExecution restartJob(long executionId) throws JobRestartException, JobExecutionAlreadyCompleteException, JobExecutionNotMostRecentException, NoSuchJobExecutionException
restartJob in interface IBatchKernelServiceJobRestartExceptionJobExecutionAlreadyCompleteExceptionJobExecutionNotMostRecentExceptionNoSuchJobExecutionExceptionpublic IJobExecution restartJob(long executionId, Properties jobOverrideProps) throws JobRestartException, JobExecutionAlreadyCompleteException, JobExecutionNotMostRecentException, NoSuchJobExecutionException
restartJob in interface IBatchKernelServiceJobRestartExceptionJobExecutionAlreadyCompleteExceptionJobExecutionNotMostRecentExceptionNoSuchJobExecutionExceptionpublic void jobExecutionDone(RuntimeJobExecution jobExecution)
jobExecutionDone in interface IBatchKernelServicepublic IJobExecution getJobExecution(long executionId) throws NoSuchJobExecutionException
getJobExecution in interface IBatchKernelServiceNoSuchJobExecutionExceptionpublic void startGeneratedJob(BatchWorkUnit batchWork)
startGeneratedJob in interface IBatchKernelServicepublic int getJobInstanceCount(String jobName)
getJobInstanceCount in interface IBatchKernelServicepublic JobInstance getJobInstance(long executionId)
getJobInstance in interface IBatchKernelServicepublic List<BatchPartitionWorkUnit> buildNewParallelPartitions(PartitionsBuilderConfig config) throws JobRestartException, JobStartException
buildNewParallelPartitions in interface IBatchKernelServiceJobRestartExceptionJobStartExceptionpublic List<BatchPartitionWorkUnit> buildOnRestartParallelPartitions(PartitionsBuilderConfig config) throws JobRestartException, JobExecutionAlreadyCompleteException, JobExecutionNotMostRecentException
buildOnRestartParallelPartitions in interface IBatchKernelServiceJobRestartExceptionJobExecutionAlreadyCompleteExceptionJobExecutionNotMostRecentExceptionpublic void restartGeneratedJob(BatchWorkUnit batchWork) throws JobRestartException
restartGeneratedJob in interface IBatchKernelServiceJobRestartExceptionpublic BatchFlowInSplitWorkUnit buildNewFlowInSplitWorkUnit(FlowInSplitBuilderConfig config)
buildNewFlowInSplitWorkUnit in interface IBatchKernelServicepublic BatchFlowInSplitWorkUnit buildOnRestartFlowInSplitWorkUnit(FlowInSplitBuilderConfig config) throws JobRestartException, JobExecutionAlreadyCompleteException, JobExecutionNotMostRecentException
buildOnRestartFlowInSplitWorkUnit in interface IBatchKernelServiceJobRestartExceptionJobExecutionAlreadyCompleteExceptionJobExecutionNotMostRecentExceptionpublic boolean isExecutionRunning(long executionId)
isExecutionRunning in interface IBatchKernelService© Copyright IBM Corp. 2014
Licensed under the Apache License, Version 2.0