public abstract class CoordinatorXCommand<T> extends XCommand<T>
DEFAULT_LOCK_TIMEOUT, DEFAULT_REQUEUE_DELAY, dryrun, eventService, instrumentation, INSTRUMENTATION_GROUP, LOG, logInfo
Constructor and Description |
---|
CoordinatorXCommand(String name,
String type,
int priority)
Base class constructor for coordinator commands.
|
CoordinatorXCommand(String name,
String type,
int priority,
boolean dryrun)
Base class constructor for coordinator commands.
|
Modifier and Type | Method and Description |
---|---|
static void |
generateEvent(CoordinatorActionBean coordAction,
String user,
String appName,
Date startTime) |
protected void |
generateEvent(CoordinatorJobBean coordJob) |
call, call, eagerLoadState, eagerVerifyPrecondition, execute, executeInterrupts, getCreatedTime, getEntityKey, getInstrumentation, getKey, getLockTimeOut, getLog, getName, getPriority, getRequeueDelay, getType, inInterruptMode, isLockRequired, isReQueueRequired, loadState, queue, queue, resetUsed, setInterruptMode, toString, verifyPrecondition
public CoordinatorXCommand(String name, String type, int priority)
name
- command nametype
- command typepriority
- command prioritypublic CoordinatorXCommand(String name, String type, int priority, boolean dryrun)
name
- command nametype
- command typepriority
- command prioritydryrun
- true if rerun is enabled for commandpublic static void generateEvent(CoordinatorActionBean coordAction, String user, String appName, Date startTime)
protected void generateEvent(CoordinatorJobBean coordJob)
Copyright © 2014 Apache Software Foundation. All Rights Reserved.