Class HistoryCleanupSchedulerCmd
java.lang.Object
org.camunda.bpm.engine.impl.jobexecutor.historycleanup.HistoryCleanupSchedulerCmd
- Author:
- Tassilo Weidner
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected HistoryCleanupJobHandlerConfiguration
protected boolean
protected String
protected static final JobExecutorLogger
-
Constructor Summary
ConstructorsConstructorDescriptionHistoryCleanupSchedulerCmd
(boolean isRescheduleNow, Map<String, Long> reports, HistoryCleanupJobHandlerConfiguration configuration, String jobId) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
cancelCountEmptyRuns
(HistoryCleanupJobHandlerConfiguration configuration, JobEntity jobEntity) execute
(CommandContext commandContext) protected void
incrementCountEmptyRuns
(HistoryCleanupJobHandlerConfiguration configuration, JobEntity jobEntity) protected void
reportMetrics
(CommandContext commandContext) protected void
rescheduleRegularCall
(CommandContext commandContext, JobEntity jobEntity) protected void
suspendJob
(JobEntity jobEntity) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.camunda.bpm.engine.impl.interceptor.Command
isRetryable
-
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
-