public interface BatchStatistics extends Batch
Additional statistics for a single batch.
Contains the number of remaining jobs, completed and failed batch
execution jobs. The following relation between these exists:
batch total jobs = remaining jobs + completed jobs
TYPE_HISTORIC_PROCESS_INSTANCE_DELETION, TYPE_PROCESS_INSTANCE_DELETION, TYPE_PROCESS_INSTANCE_MIGRATION, TYPE_PROCESS_INSTANCE_MODIFICATION, TYPE_PROCESS_INSTANCE_RESTART, TYPE_SET_EXTERNAL_TASK_RETRIES, TYPE_SET_JOB_RETRIES
Modifier and Type | Method and Description |
---|---|
int |
getCompletedJobs()
The number of completed batch execution jobs.
|
int |
getFailedJobs()
The number of failed batch execution jobs.
|
int |
getRemainingJobs()
The number of remaining batch execution jobs.
|
getBatchJobDefinitionId, getBatchJobsPerSeed, getId, getInvocationsPerBatchJob, getJobsCreated, getMonitorJobDefinitionId, getSeedJobDefinitionId, getTenantId, getTotalJobs, getType, isSuspended
int getRemainingJobs()
The number of remaining batch execution jobs. This does include failed batch execution jobs and batch execution jobs which still have to be created by the seed job.
See
Batch.getTotalJobs()
for the number of all batch execution jobs,
getCompletedJobs()
for the number of completed batch execution jobs and
getFailedJobs()
for the number of failed batch execution jobs.
int getCompletedJobs()
The number of completed batch execution jobs. This does include aborted/deleted batch execution jobs.
See
Batch.getTotalJobs()
for the number of all batch execution jobs,
getRemainingJobs()
()} for the number of remaining batch execution jobs and
getFailedJobs()
for the number of failed batch execution jobs.
int getFailedJobs()
The number of failed batch execution jobs. This does not include aborted or deleted batch execution jobs.
See
Batch.getTotalJobs()
for the number of all batch execution jobs,
getRemainingJobs()
()} for the number of remaining batch execution jobs and
getCompletedJobs()
()} for the number of completed batch execution jobs.
Copyright © 2018. All rights reserved.