public class ExecutionContext extends Object
Constructor and Description |
---|
ExecutionContext(TopologyDef topologyDef,
Config config) |
Modifier and Type | Method and Description |
---|---|
void |
addBolt(String id,
Object bolt) |
void |
addComponent(String id,
Object value) |
void |
addSpout(String id,
IRichSpout spout) |
Object |
getBolt(String id) |
Object |
getComponent(String id) |
TopologyDef |
getTopologyDef() |
public ExecutionContext(TopologyDef topologyDef, Config config)
public TopologyDef getTopologyDef()
public void addSpout(String id, IRichSpout spout)
Copyright © 2023 The Apache Software Foundation. All rights reserved.