Package | Description |
---|---|
javax.batch.operations |
Provides APIs for starting, managing, and viewing results of Batch job executions, along with a set of exceptions.
|
Modifier and Type | Method and Description |
---|---|
void |
JobOperator.abandon(long executionId)
Set batch status to ABANDONED.
|
JobExecution |
JobOperator.getJobExecution(long executionId)
Return job execution for specified execution id
|
List<JobExecution> |
JobOperator.getJobExecutions(JobInstance instance)
Return all job executions belonging to the specified job instance.
|
JobInstance |
JobOperator.getJobInstance(long executionId)
Return the job instance for the specified execution id.
|
int |
JobOperator.getJobInstanceCount(String jobName)
Returns number of instances of a job with a particular name.
|
List<JobInstance> |
JobOperator.getJobInstances(String jobName,
int start,
int count)
Returns all JobInstances belonging to a job with a particular name
in reverse chronological order.
|
Set<String> |
JobOperator.getJobNames()
Returns a set of all job names known to the batch runtime.
|
Properties |
JobOperator.getParameters(long executionId)
Returns job parameters for a specified job instance.
|
List<Long> |
JobOperator.getRunningExecutions(String jobName)
Returns execution ids for job instances with the specified
name that have running executions.
|
List<StepExecution> |
JobOperator.getStepExecutions(long jobExecutionId)
Return StepExecutions for specified execution id.
|
long |
JobOperator.restart(long executionId,
Properties restartParameters)
Restarts a failed or stopped job instance.
|
long |
JobOperator.start(String jobXMLName,
Properties jobParameters)
Creates a new job instance and starts the first execution of that
instance.
|
void |
JobOperator.stop(long executionId)
Request a running job execution stops.
|
Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.