backtype.storm.scheduler
Class TopologyDetails
java.lang.Object
backtype.storm.scheduler.TopologyDetails
public class TopologyDetails
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TopologyDetails
public TopologyDetails(String topologyId,
Map topologyConf,
StormTopology topology,
int numWorkers)
TopologyDetails
public TopologyDetails(String topologyId,
Map topologyConf,
StormTopology topology,
int numWorkers,
Map<ExecutorDetails,String> executorToComponents)
getId
public String getId()
getName
public String getName()
getConf
public Map getConf()
getNumWorkers
public int getNumWorkers()
getTopology
public StormTopology getTopology()
getExecutorToComponent
public Map<ExecutorDetails,String> getExecutorToComponent()
selectExecutorToComponent
public Map<ExecutorDetails,String> selectExecutorToComponent(Collection<ExecutorDetails> executors)
getExecutors
public Collection<ExecutorDetails> getExecutors()
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.