com.ibm.jbatch.container.services
Interface IBatchKernelService

All Superinterfaces:
IBatchServiceBase
All Known Implementing Classes:
BatchKernelImpl

public interface IBatchKernelService
extends IBatchServiceBase


Method Summary
 BatchFlowInSplitWorkUnit buildNewFlowInSplitWorkUnit(FlowInSplitBuilderConfig config)
           
 List<BatchPartitionWorkUnit> buildNewParallelPartitions(PartitionsBuilderConfig config)
           
 BatchFlowInSplitWorkUnit buildOnRestartFlowInSplitWorkUnit(FlowInSplitBuilderConfig config)
           
 List<BatchPartitionWorkUnit> buildOnRestartParallelPartitions(PartitionsBuilderConfig config)
           
 BatchSecurityHelper getBatchSecurityHelper()
           
 IJobExecution getJobExecution(long executionId)
           
 JobInstance getJobInstance(long instanceId)
           
 int getJobInstanceCount(String jobName)
           
 boolean isExecutionRunning(long executionId)
           
 void jobExecutionDone(RuntimeJobExecution jobExecution)
           
 void restartGeneratedJob(BatchWorkUnit batchWork)
           
 IJobExecution restartJob(long executionID)
           
 IJobExecution restartJob(long executionID, Properties overrideJobParameters)
           
 void startGeneratedJob(BatchWorkUnit batchWork)
           
 IJobExecution startJob(String jobXML)
           
 IJobExecution startJob(String jobXML, Properties jobParameters)
           
 void stopJob(long executionID)
           
 
Methods inherited from interface com.ibm.jbatch.spi.services.IBatchServiceBase
init, shutdown
 

Method Detail

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.