public class StartZookeeperCommand extends AbstractBaseAdminCommand implements Command
DEFAULT_CLUSTER_NAME, DEFAULT_ZK_ADDRESS| Constructor and Description |
|---|
StartZookeeperCommand() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup() |
String |
description() |
boolean |
execute() |
boolean |
getHelp() |
String |
getName() |
void |
init(int zkPort,
String dataDir) |
static void |
main(String[] args) |
boolean |
stop() |
String |
toString() |
getPID, savePID, sendDeleteRequest, sendPostRequest, sendRequestprintExamples, printUsageclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprintUsagepublic String getName()
getName in class AbstractBaseCommandpublic void cleanup()
cleanup in class AbstractBaseCommandpublic String description()
description in interface Commandpublic void init(int zkPort,
String dataDir)
public boolean execute()
throws IOException
execute in interface CommandIOExceptionpublic boolean stop()
Copyright © 2018–2020 Apache Software Foundation. All rights reserved.