public class SyncCommand extends CliCommand
| Modifier and Type | Field and Description |
|---|---|
static long |
SYNC_TIMEOUT |
err, out, zk| Constructor and Description |
|---|
SyncCommand() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
exec() |
CliCommand |
parse(String[] cmdArgs)
parse the command arguments
|
addToMap, getCmdStr, getOptionStr, getUsageStr, setErr, setOut, setZkpublic CliCommand parse(String[] cmdArgs) throws CliParseException
CliCommandparse in class CliCommandCliParseExceptionpublic boolean exec()
throws CliException
exec in class CliCommandCliExceptionCopyright © 2008–2021 The Apache Software Foundation. All rights reserved.