|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvoldemort.tools.admin.command.AbstractAdminCommand
voldemort.tools.admin.command.AdminCommandAsyncJob.SubCommandAsyncJobStop
public static class AdminCommandAsyncJob.SubCommandAsyncJobStop
async-job stop command
Constructor Summary | |
---|---|
AdminCommandAsyncJob.SubCommandAsyncJobStop()
|
Method Summary | |
---|---|
static void |
doAsyncJobStop(AdminClient adminClient,
java.lang.Integer nodeId,
java.util.List<java.lang.Integer> jobIds)
Stop async jobs on a single nodes. |
static void |
executeCommand(java.lang.String[] args)
Parses command-line and stops async jobs on one node. |
protected static joptsimple.OptionParser |
getParser()
Initializes parser |
static void |
printHelp(java.io.PrintStream stream)
Prints help menu for command. |
Methods inherited from class voldemort.tools.admin.command.AbstractAdminCommand |
---|
executeHelp |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AdminCommandAsyncJob.SubCommandAsyncJobStop()
Method Detail |
---|
protected static joptsimple.OptionParser getParser()
public static void printHelp(java.io.PrintStream stream) throws java.io.IOException
stream
- PrintStream object for output
java.io.IOException
public static void executeCommand(java.lang.String[] args) throws java.io.IOException
args
- Command-line input
java.io.IOException
public static void doAsyncJobStop(AdminClient adminClient, java.lang.Integer nodeId, java.util.List<java.lang.Integer> jobIds)
adminClient
- An instance of AdminClient points to given clusternode
- Node to stop async jobsjobIds
- List of async jobs to be stopped
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |