com.ibm.batch.container.impl
Class BatchKernelImpl

java.lang.Object
  extended by com.ibm.batch.container.impl.BatchKernelImpl
All Implemented Interfaces:
IBatchKernelService, IBatchServiceBase

public class BatchKernelImpl
extends Object
implements IBatchKernelService


Field Summary
static int THREAD_POOL_SIZE
           
 
Constructor Summary
BatchKernelImpl()
           
 
Method Summary
 List<Long> getExecutionIds(long jobInstance)
           
 JobExecution getJobExecution(long executionId)
           
 int getJobInstanceCount(String jobName)
           
 List<StepExecution> getJobSteps(long jobExecutionId)
           
 StepExecution getStepExecution(long jobExecutionId, long stepExecutionId)
           
 void init(IBatchConfig pgcConfig)
           
 void jobExecutionDone(RuntimeJobExecutionImpl jobExecution)
           
 void registerStepExecution(long jobExecutionId, long stepExecutionId, StepExecution stepExecution)
           
 JobExecution restartJob(long jobInstanceId)
           
 JobExecution restartJob(long jobInstanceId, Properties overrideJobParameters)
           
 void shutdown()
           
 JobExecution startJob(String jobXML)
           
 JobExecution startJob(String jobXML, Properties jobParameters)
           
 List<ParallelJobExecution> startParallelJobs(List<JSLJob> jobModels, Properties[] jobParameters, PartitionAnalyzerProxy analyzerProxy)
           
 void stopJob(long jobInstanceId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

THREAD_POOL_SIZE

public static final int THREAD_POOL_SIZE
See Also:
Constant Field Values
Constructor Detail

BatchKernelImpl

public BatchKernelImpl()
Method Detail

init

public void init(IBatchConfig pgcConfig)
          throws BatchContainerServiceException
Specified by:
init in interface IBatchServiceBase
Throws:
BatchContainerServiceException

shutdown

public void shutdown()
              throws BatchContainerServiceException
Specified by:
shutdown in interface IBatchServiceBase
Throws:
BatchContainerServiceException

restartJob

public JobExecution restartJob(long jobInstanceId)
Specified by:
restartJob in interface IBatchKernelService

startJob

public JobExecution startJob(String jobXML)
Specified by:
startJob in interface IBatchKernelService

startJob

public JobExecution startJob(String jobXML,
                             Properties jobParameters)
Specified by:
startJob in interface IBatchKernelService

stopJob

public void stopJob(long jobInstanceId)
             throws NoSuchJobExecutionException,
                    JobExecutionNotRunningException
Specified by:
stopJob in interface IBatchKernelService
Throws:
NoSuchJobExecutionException
JobExecutionNotRunningException

restartJob

public JobExecution restartJob(long jobInstanceId,
                               Properties overrideJobParameters)
Specified by:
restartJob in interface IBatchKernelService

jobExecutionDone

public void jobExecutionDone(RuntimeJobExecutionImpl jobExecution)
Specified by:
jobExecutionDone in interface IBatchKernelService

getJobExecution

public JobExecution getJobExecution(long executionId)
Specified by:
getJobExecution in interface IBatchKernelService

getJobSteps

public List<StepExecution> getJobSteps(long jobExecutionId)
Specified by:
getJobSteps in interface IBatchKernelService

getStepExecution

public StepExecution getStepExecution(long jobExecutionId,
                                      long stepExecutionId)
Specified by:
getStepExecution in interface IBatchKernelService

registerStepExecution

public void registerStepExecution(long jobExecutionId,
                                  long stepExecutionId,
                                  StepExecution stepExecution)

startParallelJobs

public List<ParallelJobExecution> startParallelJobs(List<JSLJob> jobModels,
                                                    Properties[] jobParameters,
                                                    PartitionAnalyzerProxy analyzerProxy)

getExecutionIds

public List<Long> getExecutionIds(long jobInstance)
Specified by:
getExecutionIds in interface IBatchKernelService

getJobInstanceCount

public int getJobInstanceCount(String jobName)
Specified by:
getJobInstanceCount in interface IBatchKernelService


Copyright © 2013. All Rights Reserved.