public class StormLocalCluster extends Object implements MiniCluster
| Modifier and Type | Class and Description |
|---|---|
static class |
StormLocalCluster.Builder |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanUp() |
void |
configure() |
Boolean |
getEnableDebug() |
Integer |
getNumWorkers() |
backtype.storm.Config |
getStormConf() |
String |
getZookeeperHost() |
Long |
getZookeeperPort() |
void |
start() |
void |
stop() |
void |
stop(boolean cleanUp) |
void |
stop(String topologyName) |
void |
submitTopology(String topologyName,
backtype.storm.Config conf,
backtype.storm.generated.StormTopology topology) |
public String getZookeeperHost()
public Long getZookeeperPort()
public Boolean getEnableDebug()
public Integer getNumWorkers()
public backtype.storm.Config getStormConf()
public void start()
throws Exception
start in interface MiniClusterExceptionpublic void stop()
throws Exception
stop in interface MiniClusterExceptionpublic void stop(boolean cleanUp)
throws Exception
stop in interface MiniClusterExceptionpublic void configure()
throws Exception
configure in interface MiniClusterExceptionpublic void cleanUp()
throws Exception
cleanUp in interface MiniClusterExceptionpublic void submitTopology(String topologyName, backtype.storm.Config conf, backtype.storm.generated.StormTopology topology)
Copyright © 2015. All Rights Reserved.