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,- HasDbReferences,- HasDbRevision,- Nameable
 
 public class BatchStatisticsEntity extends BatchEntity implements BatchStatistics 
- 
- 
Field SummaryFields Modifier and Type Field Description protected intfailedJobsprotected intremainingJobs- 
Fields 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, type
 - 
Fields 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 Constructor Description BatchStatisticsEntity()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCompletedJobs()The number of completed batch execution jobs.intgetFailedJobs()The number of failed batch execution jobs.intgetJobsToCreate()intgetRemainingJobs()The number of remaining batch execution jobs.voidsetFailedJobs(int failedJobs)voidsetRemainingJobs(int remainingJobs)java.lang.StringtoString()- 
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, setType
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface org.camunda.bpm.engine.batch.BatchgetBatchJobDefinitionId, getBatchJobsPerSeed, getCreateUserId, getExecutionStartTime, getId, getInvocationsPerBatchJob, getJobsCreated, getMonitorJobDefinitionId, getSeedJobDefinitionId, getStartTime, getTenantId, getTotalJobs, getType, isSuspended
 - 
Methods inherited from interface org.camunda.bpm.engine.impl.db.HasDbReferencesgetDependentEntities
 
- 
 
- 
- 
- 
Method Detail- 
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() 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- BatchEntity
 
 
- 
 
-