Package org.apache.storm.coordination
Class CoordinatedBolt.CoordinatedOutputCollector
java.lang.Object
org.apache.storm.coordination.CoordinatedBolt.CoordinatedOutputCollector
- All Implemented Interfaces:
IErrorReporter
,IOutputCollector
- Enclosing class:
- CoordinatedBolt
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Returns the task ids that received the tuples.void
emitDirect
(int task, String stream, Collection<Tuple> anchors, List<Object> tuple) void
void
flush()
void
reportError
(Throwable error) void
resetTimeout
(Tuple tuple)
-
Constructor Details
-
CoordinatedOutputCollector
-
-
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
-
flush
public void flush()- Specified by:
flush
in interfaceIOutputCollector
-
resetTimeout
- Specified by:
resetTimeout
in interfaceIOutputCollector
-
reportError
- Specified by:
reportError
in interfaceIErrorReporter
-