Package org.apache.storm.executor.bolt
Class BoltOutputCollectorImpl
java.lang.Object
org.apache.storm.executor.bolt.BoltOutputCollectorImpl
- All Implemented Interfaces:
IErrorReporter
,IOutputCollector
-
Constructor Summary
ConstructorDescriptionBoltOutputCollectorImpl
(BoltExecutor executor, Task taskData, Random random, boolean isEventLoggers, boolean ackingEnabled, boolean isDebug) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Returns the task ids that received the tuples.void
emitDirect
(int taskId, String streamId, Collection<Tuple> anchors, List<Object> tuple) void
void
flush()
void
reportError
(Throwable error) void
resetTimeout
(Tuple input)
-
Constructor Details
-
BoltOutputCollectorImpl
public BoltOutputCollectorImpl(BoltExecutor executor, Task taskData, Random random, boolean isEventLoggers, boolean ackingEnabled, boolean isDebug)
-
-
Method Details
-
emit
Description copied from interface:IOutputCollector
Returns the task ids that received the tuples.- Specified by:
emit
in interfaceIOutputCollector
-
emitDirect
- Specified by:
emitDirect
in interfaceIOutputCollector
-
ack
- Specified by:
ack
in interfaceIOutputCollector
-
fail
- Specified by:
fail
in interfaceIOutputCollector
-
resetTimeout
- Specified by:
resetTimeout
in interfaceIOutputCollector
-
flush
public void flush()- Specified by:
flush
in interfaceIOutputCollector
-
reportError
- Specified by:
reportError
in interfaceIErrorReporter
-