Package org.apache.storm.executor.spout
Class SpoutOutputCollectorImpl
java.lang.Object
org.apache.storm.executor.spout.SpoutOutputCollectorImpl
- All Implemented Interfaces:
- ISpoutOutputCollector,- IErrorReporter
Methods are not thread safe. Each thread expected to have a separate instance, or else synchronize externally
- 
Constructor SummaryConstructorsConstructorDescriptionSpoutOutputCollectorImpl(ISpout spout, SpoutExecutor executor, Task taskData, MutableLong emittedCount, boolean hasAckers, Random random, Boolean isEventLoggers, Boolean isDebug, RotatingMap<Long, TupleInfo> pending) 
- 
Method SummaryModifier and TypeMethodDescriptionReturns the task ids that received the tuples.voidemitDirect(int taskId, String streamId, List<Object> tuple, Object messageId) voidflush()longvoidreportError(Throwable error) 
- 
Constructor Details- 
SpoutOutputCollectorImplpublic SpoutOutputCollectorImpl(ISpout spout, SpoutExecutor executor, Task taskData, MutableLong emittedCount, boolean hasAckers, Random random, Boolean isEventLoggers, Boolean isDebug, RotatingMap<Long, TupleInfo> pending) 
 
- 
- 
Method Details- 
emitDescription copied from interface:ISpoutOutputCollectorReturns the task ids that received the tuples.- Specified by:
- emitin interface- ISpoutOutputCollector
 
- 
emitDirect- Specified by:
- emitDirectin interface- ISpoutOutputCollector
 
- 
flushpublic void flush()- Specified by:
- flushin interface- ISpoutOutputCollector
 
- 
getPendingCountpublic long getPendingCount()- Specified by:
- getPendingCountin interface- ISpoutOutputCollector
 
- 
reportError- Specified by:
- reportErrorin interface- IErrorReporter
 
 
-