public class SLAWorkflowJobHistoryXCommand extends SLAJobHistoryXCommand
jobId
DEFAULT_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, verifyPrecondition
call, eagerLoadState, eagerVerifyPrecondition, executeInterrupts, getCreatedTime, getInstrumentation, getKey, getLog, getName, getPriority, getRequeueDelay, getType, inInterruptMode, queue, queue, resetUsed, setInterruptMode, setLogInfo, toString
public SLAWorkflowJobHistoryXCommand(String jobId)
protected void loadState() throws CommandException
XCommand
Subclasses must implement this method and load the state needed to do the precondition check and execute the command.
loadState
in class XCommand<Boolean>
CommandException
protected void updateSLASummary() throws XException
SLAJobHistoryXCommand
updateSLASummary
in class SLAJobHistoryXCommand
XException
protected boolean isJobEnded()
SLAJobHistoryXCommand
isJobEnded
in class SLAJobHistoryXCommand
Copyright © 2016 Apache Software Foundation. All rights reserved.