public class TopologyContext
extends java.lang.Object
The TopologyContext is also used to declare ISubscribedState objects to synchronize state with StateSpouts this object is subscribed to.
| Constructor and Description | 
|---|
TopologyContext(TaskContext t2TaskContext)  | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.String | 
getThisComponentId()  | 
java.util.Map<GlobalStreamId,java.lang.Object> | 
getThisSources()
Gets the declared inputs to this component. 
 | 
java.util.Set<java.lang.String> | 
getThisStreams()
Gets the set of streams declared for the component of this task. 
 | 
int | 
getThisTaskId()  | 
void | 
setTempBoltDeclarer(Twister2BoltDeclarer t2bd)
This method will be temporary used to extract parameter that are not yest supported by
  
TaskContext | 
public TopologyContext(TaskContext t2TaskContext)
public int getThisTaskId()
public java.lang.String getThisComponentId()
public void setTempBoltDeclarer(Twister2BoltDeclarer t2bd)
TaskContextpublic java.util.Set<java.lang.String> getThisStreams()
public java.util.Map<GlobalStreamId,java.lang.Object> getThisSources()
WindowedBoltExecutor just need the GlobalStreamId