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<String,Object> |
getDaemonConf() |
Integer |
getPortsPerSupervisor() |
Integer |
getSupervisors() |
Boolean |
isNimbusDaemon() |
void |
setDaemonConf(Map<String,Object> 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 void setPortsPerSupervisor(Integer portsPerSupervisor)
public Boolean isNimbusDaemon()
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 © 2022 The Apache Software Foundation. All rights reserved.