public class ChangeNumReplicasCommand extends AbstractBaseAdminCommand implements Command
DEFAULT_CLUSTER_NAME, DEFAULT_ZK_ADDRESS| Constructor and Description |
|---|
ChangeNumReplicasCommand() |
| Modifier and Type | Method and Description |
|---|---|
String |
description() |
boolean |
execute() |
boolean |
getHelp() |
String |
getName() |
getPID, savePID, sendDeleteRequest, sendPostRequest, sendRequestcleanup, printExamples, printUsageclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprintUsagepublic String getName()
getName in class AbstractBaseCommandpublic boolean execute()
throws Exception
public String description()
description in interface CommandCopyright © 2018–2020 Apache Software Foundation. All rights reserved.