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, typeTYPE_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, setTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBatchJobDefinitionId, getBatchJobsPerSeed, getId, getInvocationsPerBatchJob, getJobsCreated, getMonitorJobDefinitionId, getSeedJobDefinitionId, getTenantId, getTotalJobs, getType, isSuspendedpublic int getRemainingJobs()
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 and
BatchStatistics.getFailedJobs() for the number of failed batch execution jobs.
getRemainingJobs in interface BatchStatisticspublic void setRemainingJobs(int remainingJobs)
public int getCompletedJobs()
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 and
BatchStatistics.getFailedJobs() for the number of failed batch execution jobs.
getCompletedJobs in interface BatchStatisticspublic int getFailedJobs()
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 and
BatchStatistics.getCompletedJobs() ()} for the number of completed batch execution jobs.
getFailedJobs in interface BatchStatisticspublic void setFailedJobs(int failedJobs)
public int getJobsToCreate()
public String toString()
toString in class BatchEntityCopyright © 2018. All rights reserved.