Class HistoryCleanupSchedulerCmd
- java.lang.Object
-
- org.camunda.bpm.engine.impl.jobexecutor.historycleanup.HistoryCleanupSchedulerCmd
-
-
Field Summary
Fields Modifier and Type Field Description protected HistoryCleanupJobHandlerConfiguration
configuration
protected boolean
isRescheduleNow
protected java.lang.String
jobId
protected static JobExecutorLogger
LOG
protected java.util.Map<java.lang.String,java.lang.Long>
reports
-
Constructor Summary
Constructors Constructor Description HistoryCleanupSchedulerCmd(boolean isRescheduleNow, java.util.Map<java.lang.String,java.lang.Long> reports, HistoryCleanupJobHandlerConfiguration configuration, java.lang.String jobId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
cancelCountEmptyRuns(HistoryCleanupJobHandlerConfiguration configuration, JobEntity jobEntity)
java.lang.Void
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 Detail
-
LOG
protected static final JobExecutorLogger LOG
-
isRescheduleNow
protected boolean isRescheduleNow
-
configuration
protected HistoryCleanupJobHandlerConfiguration configuration
-
jobId
protected java.lang.String jobId
-
reports
protected java.util.Map<java.lang.String,java.lang.Long> reports
-
-
Constructor Detail
-
HistoryCleanupSchedulerCmd
public HistoryCleanupSchedulerCmd(boolean isRescheduleNow, java.util.Map<java.lang.String,java.lang.Long> reports, HistoryCleanupJobHandlerConfiguration configuration, java.lang.String jobId)
-
-
Method Detail
-
execute
public java.lang.Void execute(CommandContext commandContext)
-
rescheduleRegularCall
protected void rescheduleRegularCall(CommandContext commandContext, JobEntity jobEntity)
-
suspendJob
protected void suspendJob(JobEntity jobEntity)
-
incrementCountEmptyRuns
protected void incrementCountEmptyRuns(HistoryCleanupJobHandlerConfiguration configuration, JobEntity jobEntity)
-
cancelCountEmptyRuns
protected void cancelCountEmptyRuns(HistoryCleanupJobHandlerConfiguration configuration, JobEntity jobEntity)
-
reportMetrics
protected void reportMetrics(CommandContext commandContext)
-
-