Class HistoryCleanupSchedulerCmd
java.lang.Object
org.camunda.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) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
-