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 void |
unlockJob(JobEntity job) |
protected static final long serialVersionUID
protected String jobId
protected Throwable exception
protected JobEntity getJob()
protected void unlockJob(JobEntity job)
protected void logException(JobEntity job)
protected void decrementRetries(JobEntity job)
protected String getExceptionStacktrace()
protected void notifyAcquisition(CommandContext commandContext)
Copyright © 2015. All rights reserved.