public class SLACoordActionJobHistoryXCommand extends SLAJobHistoryXCommand
jobIdDEFAULT_LOCK_TIMEOUT, DEFAULT_REQUEUE_DELAY, dryrun, eventService, instrumentation, INSTRUMENTATION_GROUP, LOG| Constructor and Description |
|---|
SLACoordActionJobHistoryXCommand(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
|
protected void |
updateSLASummaryForCoordAction(CoordinatorActionBean bean) |
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 SLACoordActionJobHistoryXCommand(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 CommandException
SLAJobHistoryXCommandupdateSLASummary in class SLAJobHistoryXCommandCommandExceptionprotected void updateSLASummaryForCoordAction(CoordinatorActionBean bean) throws JPAExecutorException
JPAExecutorExceptionprotected boolean isJobEnded()
SLAJobHistoryXCommandisJobEnded in class SLAJobHistoryXCommandCopyright © 2016 Apache Software Foundation. All rights reserved.