Package org.apache.storm.topology
Class BasicOutputCollector
java.lang.Object
org.apache.storm.topology.BasicOutputCollector
- All Implemented Interfaces:
- IErrorReporter,- IBasicOutputCollector
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidemitDirect(int taskId, String streamId, List<Object> tuple) voidemitDirect(int taskId, List<Object> tuple) protected IOutputCollectorvoidvoidresetTimeout(Tuple tuple) Resets the message timeout for any tuple trees to which the given tuple belongs.voidsetContext(Tuple inputTuple) 
- 
Constructor Details- 
BasicOutputCollector
 
- 
- 
Method Details- 
emit- Specified by:
- emitin interface- IBasicOutputCollector
 
- 
emit
- 
setContext
- 
emitDirect- Specified by:
- emitDirectin interface- IBasicOutputCollector
 
- 
emitDirect
- 
resetTimeoutResets the message timeout for any tuple trees to which the given tuple belongs. The timeout is reset to Config.TOPOLOGY_MESSAGE_TIMEOUT_SECS. Note that this is an expensive operation, and should be used sparingly.- Specified by:
- resetTimeoutin interface- IBasicOutputCollector
- Parameters:
- tuple- the tuple to reset timeout for
 
- 
getOutputter
- 
reportError- Specified by:
- reportErrorin interface- IErrorReporter
 
 
-