Interface BatchStatistics
- All Superinterfaces:
- Batch
- All Known Implementing Classes:
- BatchStatisticsEntity
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
   
 
- 
Field SummaryFields inherited from interface org.camunda.bpm.engine.batch.BatchTYPE_BATCH_SET_REMOVAL_TIME, TYPE_CORRELATE_MESSAGE, TYPE_DECISION_SET_REMOVAL_TIME, TYPE_HISTORIC_DECISION_INSTANCE_DELETION, TYPE_HISTORIC_PROCESS_INSTANCE_DELETION, TYPE_PROCESS_INSTANCE_DELETION, TYPE_PROCESS_INSTANCE_MIGRATION, TYPE_PROCESS_INSTANCE_MODIFICATION, TYPE_PROCESS_INSTANCE_RESTART, TYPE_PROCESS_INSTANCE_UPDATE_SUSPENSION_STATE, TYPE_PROCESS_SET_REMOVAL_TIME, TYPE_SET_EXTERNAL_TASK_RETRIES, TYPE_SET_JOB_RETRIES, TYPE_SET_VARIABLES
- 
Method SummaryModifier and TypeMethodDescriptionintThe number of completed batch execution jobs.intThe number of failed batch execution jobs.intThe number of remaining batch execution jobs.Methods inherited from interface org.camunda.bpm.engine.batch.BatchgetBatchJobDefinitionId, getBatchJobsPerSeed, getCreateUserId, getExecutionStartTime, getId, getInvocationsPerBatchJob, getJobsCreated, getMonitorJobDefinitionId, getSeedJobDefinitionId, getStartTime, getTenantId, getTotalJobs, getType, isSuspended
- 
Method Details- 
getRemainingJobsint 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 andgetFailedJobs()for the number of failed batch execution jobs.- Returns:
- the number of remaining batch execution jobs
 
- 
getCompletedJobsint 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 andgetFailedJobs()for the number of failed batch execution jobs.- Returns:
- the number of completed batch execution jobs
 
- 
getFailedJobsint 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 andgetCompletedJobs()()} for the number of completed batch execution jobs.- Returns:
- the number of failed batch execution jobs
 
 
-