public class SLAWorkflowJobHistoryXCommand extends SLAJobHistoryXCommand
jobIdDEFAULT_LOCK_TIMEOUT, DEFAULT_REQUEUE_DELAY, dryrun, eventService, instrumentation, INSTRUMENTATION_GROUP, LOG| Constructor and Description |
|---|
SLAWorkflowJobHistoryXCommand(String jobId) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isJobEnded()
Checks if is job ended.
|
protected void |
loadState()
Load the necessary state to perform the precondition check and to execute the command.
|
protected void |
updateSLASummary()
Update SLASummary
|
execute, getEntityKey, getLockTimeOut, isLockRequired, isReQueueRequired, updateSLASummary, verifyPreconditioncall, eagerLoadState, eagerVerifyPrecondition, executeInterrupts, getCreatedTime, getInstrumentation, getKey, getLog, getName, getPriority, getRequeueDelay, getType, inInterruptMode, queue, queue, resetUsed, setInterruptMode, setLogInfo, toStringpublic SLAWorkflowJobHistoryXCommand(String jobId)
protected void loadState() throws CommandException
XCommandSubclasses must implement this method and load the state needed to do the precondition check and execute the command.
loadState in class XCommand<Boolean>CommandExceptionprotected void updateSLASummary() throws XException
SLAJobHistoryXCommandupdateSLASummary in class SLAJobHistoryXCommandXExceptionprotected boolean isJobEnded()
SLAJobHistoryXCommandisJobEnded in class SLAJobHistoryXCommandCopyright © 2016 Apache Software Foundation. All rights reserved.