Modifier and Type | Field and Description |
---|---|
protected HistoryCleanupJobHandlerConfiguration |
configuration |
protected boolean |
isRescheduleNow |
protected String |
jobId |
protected static JobExecutorLogger |
LOG |
protected Map<String,Long> |
reports |
Constructor and Description |
---|
HistoryCleanupSchedulerCmd(boolean isRescheduleNow,
Map<String,Long> reports,
HistoryCleanupJobHandlerConfiguration configuration,
String jobId) |
Modifier and Type | Method and Description |
---|---|
protected void |
cancelCountEmptyRuns(HistoryCleanupJobHandlerConfiguration configuration,
JobEntity jobEntity) |
Void |
execute(CommandContext commandContext) |
protected void |
incrementCountEmptyRuns(HistoryCleanupJobHandlerConfiguration configuration,
JobEntity jobEntity) |
protected boolean |
isMetricsEnabled() |
protected void |
reportMetrics(CommandContext commandContext) |
protected void |
rescheduleRegularCall(CommandContext commandContext,
JobEntity jobEntity) |
protected void |
suspendJob(JobEntity jobEntity) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isRetryable
protected static final JobExecutorLogger LOG
protected boolean isRescheduleNow
protected HistoryCleanupJobHandlerConfiguration configuration
protected String jobId
public HistoryCleanupSchedulerCmd(boolean isRescheduleNow, Map<String,Long> reports, HistoryCleanupJobHandlerConfiguration configuration, String jobId)
public Void execute(CommandContext commandContext)
protected void rescheduleRegularCall(CommandContext commandContext, JobEntity jobEntity)
protected void suspendJob(JobEntity jobEntity)
protected void incrementCountEmptyRuns(HistoryCleanupJobHandlerConfiguration configuration, JobEntity jobEntity)
protected void cancelCountEmptyRuns(HistoryCleanupJobHandlerConfiguration configuration, JobEntity jobEntity)
protected void reportMetrics(CommandContext commandContext)
protected boolean isMetricsEnabled()
Copyright © 2022. All rights reserved.