Class HistoryCleanupSchedulerCmd
java.lang.Object
org.eximeebpms.bpm.engine.impl.jobexecutor.historycleanup.HistoryCleanupSchedulerCmd
- Author:
- Tassilo Weidner
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected HistoryCleanupJobHandlerConfigurationprotected booleanprotected Stringprotected static final JobExecutorLogger -
Constructor Summary
ConstructorsConstructorDescriptionHistoryCleanupSchedulerCmd(boolean isRescheduleNow, Map<String, Long> reports, HistoryCleanupJobHandlerConfiguration configuration, String jobId) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcancelCountEmptyRuns(HistoryCleanupJobHandlerConfiguration configuration, JobEntity jobEntity) execute(CommandContext commandContext) protected voidincrementCountEmptyRuns(HistoryCleanupJobHandlerConfiguration configuration, JobEntity jobEntity) protected voidreportMetrics(CommandContext commandContext) protected voidrescheduleRegularCall(CommandContext commandContext, JobEntity jobEntity) protected voidsuspendJob(JobEntity jobEntity)
-
Field Details
-
LOG
-
isRescheduleNow
protected boolean isRescheduleNow -
configuration
-
jobId
-
reports
-
-
Constructor Details
-
HistoryCleanupSchedulerCmd
public HistoryCleanupSchedulerCmd(boolean isRescheduleNow, Map<String, Long> reports, HistoryCleanupJobHandlerConfiguration configuration, String jobId)
-
-
Method Details
-
execute
-
rescheduleRegularCall
-
suspendJob
-
incrementCountEmptyRuns
protected void incrementCountEmptyRuns(HistoryCleanupJobHandlerConfiguration configuration, JobEntity jobEntity) -
cancelCountEmptyRuns
protected void cancelCountEmptyRuns(HistoryCleanupJobHandlerConfiguration configuration, JobEntity jobEntity) -
reportMetrics
-