org.camunda.bpm.engine.impl.batch
Class BatchStatisticsEntity
java.lang.Object
org.camunda.bpm.engine.impl.batch.BatchEntity
org.camunda.bpm.engine.impl.batch.BatchStatisticsEntity
- All Implemented Interfaces:
- Batch, BatchStatistics, DbEntity, HasDbRevision, Nameable
public class BatchStatisticsEntity
- extends BatchEntity
- implements BatchStatistics
| Fields inherited from class org.camunda.bpm.engine.impl.batch.BatchEntity |
BATCH_MONITOR_JOB_DECLARATION, BATCH_SEED_JOB_DECLARATION, batchJobDefinition, batchJobDefinitionId, batchJobHandler, batchJobsPerSeed, configuration, id, invocationsPerBatchJob, jobsCreated, monitorJobDefinition, monitorJobDefinitionId, revision, seedJobDefinition, seedJobDefinitionId, suspensionState, tenantId, totalJobs, type |
| Methods inherited from class org.camunda.bpm.engine.impl.batch.BatchEntity |
calculateMonitorJobDueDate, createBatchJobDefinition, createMonitorJob, createMonitorJobDefinition, createSeedJob, createSeedJobDefinition, delete, deleteMonitorJob, deleteSeedJob, fireHistoricEndEvent, fireHistoricStartEvent, getBatchJobDefinition, getBatchJobDefinitionId, getBatchJobHandler, getBatchJobsPerSeed, getConfiguration, getConfigurationBytes, getId, getInvocationsPerBatchJob, getJobsCreated, getMonitorJobDefinition, getMonitorJobDefinitionId, getName, getPersistentState, getRevision, getRevisionNext, getSeedJobDefinition, getSeedJobDefinitionId, getSuspensionState, getTenantId, getTotalJobs, getType, isCompleted, isSuspended, setBatchJobDefinitionId, setBatchJobsPerSeed, setConfiguration, setConfigurationBytes, setId, setInvocationsPerBatchJob, setJobsCreated, setMonitorJobDefinitionId, setRevision, setSeedJobDefinitionId, setSuspensionState, setTenantId, setTotalJobs, setType |
| Methods inherited from interface org.camunda.bpm.engine.batch.Batch |
getBatchJobDefinitionId, getBatchJobsPerSeed, getId, getInvocationsPerBatchJob, getJobsCreated, getMonitorJobDefinitionId, getSeedJobDefinitionId, getTenantId, getTotalJobs, getType, isSuspended |
remainingJobs
protected int remainingJobs
failedJobs
protected int failedJobs
BatchStatisticsEntity
public BatchStatisticsEntity()
getRemainingJobs
public int getRemainingJobs()
- Description copied from interface:
BatchStatistics
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,
BatchStatistics.getCompletedJobs() for the number of completed batch execution jobs and
BatchStatistics.getFailedJobs() for the number of failed batch execution jobs.
- Specified by:
getRemainingJobs in interface BatchStatistics
- Returns:
- the number of remaining batch execution jobs
setRemainingJobs
public void setRemainingJobs(int remainingJobs)
getCompletedJobs
public int getCompletedJobs()
- Description copied from interface:
BatchStatistics
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,
BatchStatistics.getRemainingJobs() ()} for the number of remaining batch execution jobs and
BatchStatistics.getFailedJobs() for the number of failed batch execution jobs.
- Specified by:
getCompletedJobs in interface BatchStatistics
- Returns:
- the number of completed batch execution jobs
getFailedJobs
public int getFailedJobs()
- Description copied from interface:
BatchStatistics
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,
BatchStatistics.getRemainingJobs() ()} for the number of remaining batch execution jobs and
BatchStatistics.getCompletedJobs() ()} for the number of completed batch execution jobs.
- Specified by:
getFailedJobs in interface BatchStatistics
- Returns:
- the number of failed batch execution jobs
setFailedJobs
public void setFailedJobs(int failedJobs)
getJobsToCreate
public int getJobsToCreate()
toString
public String toString()
- Overrides:
toString in class BatchEntity
Copyright © 2017 camunda services GmbH. All rights reserved.