public class MkClusterParam extends Object
The param arg for Testing.withSimulatedTimeCluster
, Testing.withTrackedCluster
and Testing.withLocalCluster
Constructor and Description |
---|
MkClusterParam() |
Modifier and Type | Method and Description |
---|---|
Map |
getDaemonConf() |
Integer |
getPortsPerSupervisor() |
Integer |
getSupervisors() |
Boolean |
isNimbusDaemon() |
void |
setDaemonConf(Map daemonConf) |
void |
setNimbusDaemon(Boolean nimbusDaemon)
When nimbusDaemon is true, the local cluster will be started with a Nimbus Thrift server, allowing communication through for example org.apache.storm.utils.NimbusClient
|
void |
setPortsPerSupervisor(Integer portsPerSupervisor) |
void |
setSupervisors(Integer supervisors) |
public Integer getSupervisors()
public void setSupervisors(Integer supervisors)
public Integer getPortsPerSupervisor()
public Boolean isNimbusDaemon()
public void setPortsPerSupervisor(Integer portsPerSupervisor)
public Map getDaemonConf()
public void setDaemonConf(Map daemonConf)
public void setNimbusDaemon(Boolean nimbusDaemon)
When nimbusDaemon is true, the local cluster will be started with a Nimbus Thrift server, allowing communication through for example org.apache.storm.utils.NimbusClient
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.