Node Director
|
Implements the 'queueworker' director command regularly scanning the job queue for runnable jobs and trying to execute them. More...
Public Member Functions | |
String | usage () |
return a one-line usage string | |
String | help () |
return a more verbose usage string (aka. | |
String[] | getOptDefinitions () |
return option definitions as used by Tools.getOpt() | |
void | run (Hashtable optvals) throws DirectorException |
run the command with the (pre-parsed) options optargs | |
Public Member Functions inherited from sfi.director.cli.CLICommand | |
void | setOptions (Hashtable opts) |
sets options from a hash as returned by Tools.getOpts(). | |
Options | getOptions () |
Hashtable | getOptionsHash () |
Implements the 'queueworker' director command regularly scanning the job queue for runnable jobs and trying to execute them.
|
virtual |
return option definitions as used by Tools.getOpt()
Implements sfi.director.cli.CLICommand.
|
virtual |
|
virtual |
run the command with the (pre-parsed) options optargs
Implements sfi.director.cli.CLICommand.
References sfi.director.schedule.Scheduler.attach(), sfi.director.util.Logger.DEBUG, sfi.director.schedule.Scheduler.detach(), sfi.director.util.Logger.ERR, sfi.director.schedule.Scheduler.executePendingDSUpdate(), sfi.director.util.MyProperties.getPropertyInteger(), sfi.director.schedule.Scheduler.goThroughCmds(), sfi.director.schedule.Scheduler.goThroughQueue(), sfi.director.schedule.Scheduler.isShutdown(), sfi.director.application.AdminServer.listen(), sfi.director.util.Tools.log(), sfi.director.util.Logger.NOTICE, sfi.director.util.Setup.properties, sfi.director.schedule.Scheduler.purgeOldJobs(), sfi.director.schedule.Scheduler.removeOldJobs(), sfi.director.util.Setup.scheduler, sfi.director.application.AdminServer.startListen(), and sfi.director.util.Logger.WARNING.
|
virtual |
return a one-line usage string
Implements sfi.director.cli.CLICommand.