public abstract class JobRetryCmd extends Object implements Command<Object>
Modifier and Type | Field and Description |
---|---|
protected Throwable |
exception |
protected String |
jobId |
protected static long |
serialVersionUID |
Constructor and Description |
---|
JobRetryCmd(String jobId,
Throwable exception) |
Modifier and Type | Method and Description |
---|---|
protected void |
decrementRetries(JobEntity job) |
protected String |
getExceptionStacktrace() |
protected JobEntity |
getJob() |
protected void |
logException(JobEntity job) |
protected void |
notifyAcquisition(CommandContext commandContext) |
protected boolean |
shouldDecrementRetriesFor(Throwable t) |
protected static final long serialVersionUID
protected String jobId
protected Throwable exception
protected JobEntity getJob()
protected void logException(JobEntity job)
protected void decrementRetries(JobEntity job)
protected String getExceptionStacktrace()
protected boolean shouldDecrementRetriesFor(Throwable t)
protected void notifyAcquisition(CommandContext commandContext)
Copyright © 2018. All rights reserved.