Class BatchStatisticsEntity
- All Implemented Interfaces:
- Batch,- BatchStatistics,- DbEntity,- HasDbReferences,- HasDbRevision,- Nameable
- 
Field SummaryFieldsFields inherited from class org.camunda.bpm.engine.impl.batch.BatchEntityBATCH_MONITOR_JOB_DECLARATION, BATCH_SEED_JOB_DECLARATION, batchJobDefinition, batchJobDefinitionId, batchJobHandler, batchJobsPerSeed, configuration, createUserId, executionStartTime, id, invocationsPerBatchJob, jobsCreated, monitorJobDefinition, monitorJobDefinitionId, revision, seedJobDefinition, seedJobDefinitionId, startTime, suspensionState, tenantId, totalJobs, typeFields 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
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintThe number of completed batch execution jobs.intThe number of failed batch execution jobs.intintThe number of remaining batch execution jobs.voidsetFailedJobs(int failedJobs) voidsetRemainingJobs(int remainingJobs) toString()Methods inherited from class org.camunda.bpm.engine.impl.batch.BatchEntitycalculateMonitorJobDueDate, createBatchJobDefinition, createMonitorJob, createMonitorJobDefinition, createSeedJob, createSeedJobDefinition, delete, deleteMonitorJob, deleteSeedJob, deleteVariables, fireHistoricEndEvent, fireHistoricStartEvent, fireHistoricUpdateEvent, getBatchJobDefinition, getBatchJobDefinitionId, getBatchJobHandler, getBatchJobsPerSeed, getConfiguration, getConfigurationBytes, getCreateUserId, getExecutionStartTime, getId, getInvocationsPerBatchJob, getJobsCreated, getMonitorJobDefinition, getMonitorJobDefinitionId, getName, getPersistentState, getReferencedEntitiesIdAndClass, getReferencedEntityIds, getRevision, getRevisionNext, getSeedJobDefinition, getSeedJobDefinitionId, getStartTime, getSuspensionState, getTenantId, getTotalJobs, getType, isCompleted, isSuspended, setBatchJobDefinitionId, setBatchJobsPerSeed, setConfiguration, setConfigurationBytes, setCreateUserId, setExecutionStartTime, setId, setInvocationsPerBatchJob, setJobsCreated, setMonitorJobDefinitionId, setRevision, setSeedJobDefinitionId, setStartTime, setSuspensionState, setTenantId, setTotalJobs, setTypeMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.camunda.bpm.engine.batch.BatchgetBatchJobDefinitionId, getBatchJobsPerSeed, getCreateUserId, getExecutionStartTime, getId, getInvocationsPerBatchJob, getJobsCreated, getMonitorJobDefinitionId, getSeedJobDefinitionId, getStartTime, getTenantId, getTotalJobs, getType, isSuspendedMethods inherited from interface org.camunda.bpm.engine.impl.db.HasDbReferencesgetDependentEntities
- 
Field Details- 
remainingJobsprotected int remainingJobs
- 
failedJobsprotected int failedJobs
 
- 
- 
Constructor Details- 
BatchStatisticsEntitypublic BatchStatisticsEntity()
 
- 
- 
Method Details- 
getRemainingJobspublic int getRemainingJobs()Description copied from interface:BatchStatisticsThe 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 andBatchStatistics.getFailedJobs()for the number of failed batch execution jobs.- Specified by:
- getRemainingJobsin interface- BatchStatistics
- Returns:
- the number of remaining batch execution jobs
 
- 
setRemainingJobspublic void setRemainingJobs(int remainingJobs) 
- 
getCompletedJobspublic int getCompletedJobs()Description copied from interface:BatchStatisticsThe 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 andBatchStatistics.getFailedJobs()for the number of failed batch execution jobs.- Specified by:
- getCompletedJobsin interface- BatchStatistics
- Returns:
- the number of completed batch execution jobs
 
- 
getFailedJobspublic int getFailedJobs()Description copied from interface:BatchStatisticsThe 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 andBatchStatistics.getCompletedJobs()()} for the number of completed batch execution jobs.- Specified by:
- getFailedJobsin interface- BatchStatistics
- Returns:
- the number of failed batch execution jobs
 
- 
setFailedJobspublic void setFailedJobs(int failedJobs) 
- 
getJobsToCreatepublic int getJobsToCreate()
- 
toString- Overrides:
- toStringin class- BatchEntity
 
 
-