public abstract class KillTransitionXCommand<T> extends TransitionXCommand<T>
| Modifier and Type | Field and Description |
|---|---|
protected T |
ret |
insertList, job, updateListDEFAULT_LOCK_TIMEOUT, DEFAULT_REQUEUE_DELAY, dryrun, eventService, instrumentation, INSTRUMENTATION_GROUP, LOG| Constructor and Description |
|---|
KillTransitionXCommand(String name,
String type,
int priority) |
| Modifier and Type | Method and Description |
|---|---|
protected T |
execute()
Command execution body.
|
abstract void |
killChildren() |
void |
transitToNext()
Transit to the next status based on the result of the Job.
|
generateEvents, getJob, notifyParent, performWrites, setJob, updateJobcall, call, eagerLoadState, eagerVerifyPrecondition, executeInterrupts, getCreatedTime, getEntityKey, getInstrumentation, getKey, getLockTimeOut, getLog, getName, getPriority, getRequeueDelay, getType, inInterruptMode, isLockRequired, isReQueueRequired, loadState, queue, queue, resetUsed, setInterruptMode, setLogInfo, toString, verifyPreconditionpublic KillTransitionXCommand(String name, String type, int priority)
public abstract void killChildren() throws CommandException
CommandExceptionpublic void transitToNext()
TransitionXCommandtransitToNext in class TransitionXCommand<T>protected T execute() throws CommandException
XCommandexecute in class TransitionXCommand<T>CommandException - thrown if the command execution failed.Copyright © 2015 Apache Software Foundation. All Rights Reserved.