org.apache.oozie.command.coord
Class CoordActionUpdatePushMissingDependency

java.lang.Object
  extended by org.apache.oozie.command.XCommand<T>
      extended by org.apache.oozie.command.coord.CoordinatorXCommand<Void>
          extended by org.apache.oozie.command.coord.CoordPushDependencyCheckXCommand
              extended by org.apache.oozie.command.coord.CoordActionUpdatePushMissingDependency
All Implemented Interfaces:
Callable<Void>, XCallable<Void>

public class CoordActionUpdatePushMissingDependency
extends CoordPushDependencyCheckXCommand


Field Summary
 
Fields inherited from class org.apache.oozie.command.coord.CoordPushDependencyCheckXCommand
actionId, CONF_COORD_PUSH_CHECK_REQUEUE_INTERVAL, coordAction, coordJob, jpaService
 
Fields inherited from class org.apache.oozie.command.XCommand
DEFAULT_LOCK_TIMEOUT, DEFAULT_REQUEUE_DELAY, dryrun, eventService, instrumentation, INSTRUMENTATION_GROUP, LOG, logInfo
 
Constructor Summary
CoordActionUpdatePushMissingDependency(String actionId)
           
 
Method Summary
protected  Void execute()
          Command execution body.
 String getEntityKey()
          Return the entity key for the command.
 
Methods inherited from class org.apache.oozie.command.coord.CoordPushDependencyCheckXCommand
eagerLoadState, eagerVerifyPrecondition, getCoordPushCheckRequeueInterval, getKey, isLockRequired, isTimeout, loadState, onAllPushDependenciesAvailable, unregisterMissingDependencies, updateCoordAction, verifyPrecondition
 
Methods inherited from class org.apache.oozie.command.coord.CoordinatorXCommand
generateEvent, generateEvent
 
Methods inherited from class org.apache.oozie.command.XCommand
call, executeInterrupts, getCreatedTime, getInstrumentation, getLockTimeOut, getLog, getName, getPriority, getRequeueDelay, getType, inInterruptMode, isReQueueRequired, queue, queue, resetUsed, setInterruptMode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoordActionUpdatePushMissingDependency

public CoordActionUpdatePushMissingDependency(String actionId)
Method Detail

execute

protected Void execute()
                throws CommandException
Description copied from class: XCommand
Command execution body.

This method will be invoked after the {link #loadState} and {link #verifyPrecondition} methods.

If the command requires locking, this method will be invoked ONLY if the lock has been acquired.

Overrides:
execute in class CoordPushDependencyCheckXCommand
Returns:
a return value from the execution of the command, only meaningful if the command is executed synchronously.
Throws:
CommandException - thrown if the command execution failed.

getEntityKey

public String getEntityKey()
Description copied from class: XCommand
Return the entity key for the command.

Specified by:
getEntityKey in interface XCallable<Void>
Overrides:
getEntityKey in class CoordPushDependencyCheckXCommand
Returns:
the entity key for the command.


Copyright © 2013 Apache Software Foundation. All Rights Reserved.