public class UploadSegmentCommand extends AbstractBaseAdminCommand implements Command
DEFAULT_CLUSTER_NAME, DEFAULT_ZK_ADDRESS| Constructor and Description |
|---|
UploadSegmentCommand() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup() |
String |
description() |
boolean |
execute() |
boolean |
getHelp() |
String |
getName() |
UploadSegmentCommand |
setControllerHost(String controllerHost) |
UploadSegmentCommand |
setControllerPort(String controllerPort) |
UploadSegmentCommand |
setSegmentDir(String segmentDir) |
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 UploadSegmentCommand setControllerHost(String controllerHost)
public UploadSegmentCommand setControllerPort(String controllerPort)
public UploadSegmentCommand setSegmentDir(String segmentDir)
Copyright © 2018–2020 Apache Software Foundation. All rights reserved.