public class TopologyDetails extends Object
Constructor and Description |
---|
TopologyDetails(String topologyId,
Map topologyConf,
StormTopology topology,
int numWorkers) |
TopologyDetails(String topologyId,
Map topologyConf,
StormTopology topology,
int numWorkers,
Map<ExecutorDetails,String> executorToComponents) |
Modifier and Type | Method and Description |
---|---|
Map |
getConf() |
Collection<ExecutorDetails> |
getExecutors() |
Map<ExecutorDetails,String> |
getExecutorToComponent() |
String |
getId() |
String |
getName() |
int |
getNumWorkers() |
StormTopology |
getTopology() |
Map<ExecutorDetails,String> |
selectExecutorToComponent(Collection<ExecutorDetails> executors) |
public TopologyDetails(String topologyId, Map topologyConf, StormTopology topology, int numWorkers)
public TopologyDetails(String topologyId, Map topologyConf, StormTopology topology, int numWorkers, Map<ExecutorDetails,String> executorToComponents)
public String getId()
public String getName()
public Map getConf()
public int getNumWorkers()
public StormTopology getTopology()
public Map<ExecutorDetails,String> getExecutorToComponent()
public Map<ExecutorDetails,String> selectExecutorToComponent(Collection<ExecutorDetails> executors)
public Collection<ExecutorDetails> getExecutors()
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.