| Modifier and Type | Field and Description |
|---|---|
protected CommandExecutor |
commandExecutor |
protected JobFailureCollector |
jobFailureCollector |
| Constructor and Description |
|---|
FailedJobListener(CommandExecutor commandExecutor,
JobFailureCollector jobFailureCollector) |
| Modifier and Type | Method and Description |
|---|---|
Void |
execute(CommandContext commandContext) |
protected void |
fireHistoricJobFailedEvt(JobEntity job) |
int |
getRetriesLeft() |
void |
incrementCountRetries() |
protected void |
logJobFailure(CommandContext commandContext) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisRetryableprotected CommandExecutor commandExecutor
protected JobFailureCollector jobFailureCollector
public FailedJobListener(CommandExecutor commandExecutor, JobFailureCollector jobFailureCollector)
public Void execute(CommandContext commandContext)
protected void fireHistoricJobFailedEvt(JobEntity job)
protected void logJobFailure(CommandContext commandContext)
public void incrementCountRetries()
public int getRetriesLeft()
Copyright © 2013–2020 camunda services GmbH. All rights reserved.