public interface IPersistenceManagerService extends IBatchServiceBase
| Modifier and Type | Interface and Description |
|---|---|
static class |
IPersistenceManagerService.TimestampType |
init, shutdownint jobOperatorGetJobInstanceCount(String jobName)
List<Long> jobOperatorGetJobInstanceIds(String jobName, int start, int count)
List<Long> jobOperatorGetJobInstanceIds(String jobName, String appTag, int start, int count)
Timestamp jobOperatorQueryJobExecutionTimestamp(long key, IPersistenceManagerService.TimestampType timetype)
String jobOperatorQueryJobExecutionBatchStatus(long key)
String jobOperatorQueryJobExecutionExitStatus(long key)
long jobOperatorQueryJobExecutionJobInstanceId(long executionID)
throws NoSuchJobExecutionException
NoSuchJobExecutionExceptionList<StepExecution> getStepExecutionsForJobExecution(long execid)
Map<String,StepExecution> getMostRecentStepExecutionsForJobInstance(long instanceId)
void updateBatchStatusOnly(long executionId,
BatchStatus batchStatus,
Timestamp timestamp)
void markJobStarted(long key,
Timestamp startTS)
void updateWithFinalExecutionStatusesAndTimestamps(long key,
BatchStatus batchStatus,
String exitStatus,
Timestamp updatets)
IJobExecution jobOperatorGetJobExecution(long jobExecutionId)
Properties getParameters(long executionId) throws NoSuchJobExecutionException
NoSuchJobExecutionExceptionList<IJobExecution> jobOperatorGetJobExecutions(long jobInstanceId)
String getJobCurrentTag(long jobInstanceId)
void purge(String apptag)
JobStatus getJobStatusFromExecution(long executionId)
long getJobInstanceIdByExecutionId(long executionId)
throws NoSuchJobExecutionException
NoSuchJobExecutionExceptionJobInstance createJobInstance(String name, String apptag, String jobXml)
name - the job id from job.xmlapptag - the application tag that owns this jobjobXml - the resolved job xmlRuntimeJobExecution createJobExecution(JobInstance jobInstance, Properties jobParameters, BatchStatus batchStatus)
jobInstance - the parent job instancejobParameters - the parent job instance parametersbatchStatus - the current BatchStatusStepExecutionImpl createStepExecution(long jobExecId, StepContextImpl stepContext)
jobExecId - the parent JobExecution idstepContext - the step context for this step executionvoid updateStepExecution(StepContextImpl stepContext)
stepContext - the step context for this step executionvoid updateWithFinalPartitionAggregateStepExecution(long rootJobExecutionId,
StepContextImpl stepContext)
rootJobExecutionId - the root job execution idstepContext - the step context for this step executionJobStatus createJobStatus(long jobInstanceId)
jobInstanceId - the parent job instance idJobStatus getJobStatus(long instanceId)
instanceId - the parent job instance idvoid updateJobStatus(long instanceId,
JobStatus jobStatus)
instanceId - the parent job instance idjobStatus - the job status to be updatedStepStatus createStepStatus(long stepExecId)
stepExecId - the parent step execution idStepStatus getStepStatus(long instanceId, String stepName)
instanceId - the parent job instance idstepName - the step namevoid updateStepStatus(long stepExecutionId,
StepStatus stepStatus)
stepExecutionId - the parent step execution idstepStatus - the step status to be updatedString getTagName(long jobExecutionId)
jobExecutionId - the job execution idvoid updateCheckpointData(CheckpointDataKey key, CheckpointData value)
CheckpointData getCheckpointData(CheckpointDataKey key)
void createCheckpointData(CheckpointDataKey key, CheckpointData value)
long getMostRecentExecutionId(long jobInstanceId)
JobInstance createSubJobInstance(String name, String apptag)
RuntimeFlowInSplitExecution createFlowInSplitExecution(JobInstance jobInstance, BatchStatus batchStatus)
StepExecution getStepExecutionByStepExecutionId(long stepExecId)
© Copyright IBM Corp. 2014
Licensed under the Apache License, Version 2.0