public class BatchStatisticsEntity extends BatchEntity implements BatchStatistics
Modifier and Type | Field and Description |
---|---|
protected int |
failedJobs |
protected int |
remainingJobs |
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
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
Constructor and Description |
---|
BatchStatisticsEntity() |
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 |
getJobsToCreate() |
int |
getRemainingJobs()
The number of remaining batch execution jobs.
|
void |
setFailedJobs(int failedJobs) |
void |
setRemainingJobs(int remainingJobs) |
String |
toString() |
calculateMonitorJobDueDate, createBatchJobDefinition, createMonitorJob, createMonitorJobDefinition, createSeedJob, createSeedJobDefinition, delete, deleteMonitorJob, deleteSeedJob, fireHistoricEndEvent, fireHistoricStartEvent, getBatchJobDefinition, getBatchJobDefinitionId, getBatchJobHandler, getBatchJobsPerSeed, getConfiguration, getConfigurationBytes, getId, getInvocationsPerBatchJob, getJobsCreated, getMonitorJobDefinition, getMonitorJobDefinitionId, getName, getPersistentState, getReferencedEntitiesIdAndClass, getReferencedEntityIds, getRevision, getRevisionNext, getSeedJobDefinition, getSeedJobDefinitionId, getSuspensionState, getTenantId, getTotalJobs, getType, isCompleted, isSuspended, setBatchJobDefinitionId, setBatchJobsPerSeed, setConfiguration, setConfigurationBytes, setId, setInvocationsPerBatchJob, setJobsCreated, setMonitorJobDefinitionId, setRevision, setSeedJobDefinitionId, setSuspensionState, setTenantId, setTotalJobs, setType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBatchJobDefinitionId, getBatchJobsPerSeed, getId, getInvocationsPerBatchJob, getJobsCreated, getMonitorJobDefinitionId, getSeedJobDefinitionId, getTenantId, getTotalJobs, getType, isSuspended
public int getRemainingJobs()
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.
getRemainingJobs
in interface BatchStatistics
public void setRemainingJobs(int remainingJobs)
public int getCompletedJobs()
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.
getCompletedJobs
in interface BatchStatistics
public int getFailedJobs()
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.
getFailedJobs
in interface BatchStatistics
public void setFailedJobs(int failedJobs)
public int getJobsToCreate()
public String toString()
toString
in class BatchEntity
Copyright © 2018. All rights reserved.