public class CoordinatedBolt.CoordinatedOutputCollector extends Object implements IOutputCollector
| Constructor and Description |
|---|
CoordinatedBolt.CoordinatedOutputCollector(IOutputCollector delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
ack(Tuple tuple) |
List<Integer> |
emit(String stream,
Collection<Tuple> anchors,
List<Object> tuple)
Returns the task ids that received the tuples.
|
void |
emitDirect(int task,
String stream,
Collection<Tuple> anchors,
List<Object> tuple) |
void |
fail(Tuple tuple) |
void |
reportError(Throwable error) |
public CoordinatedBolt.CoordinatedOutputCollector(IOutputCollector delegate)
public List<Integer> emit(String stream, Collection<Tuple> anchors, List<Object> tuple)
IOutputCollectoremit in interface IOutputCollectorpublic void emitDirect(int task,
String stream,
Collection<Tuple> anchors,
List<Object> tuple)
emitDirect in interface IOutputCollectorpublic void ack(Tuple tuple)
ack in interface IOutputCollectorpublic void fail(Tuple tuple)
fail in interface IOutputCollectorpublic void reportError(Throwable error)
reportError in interface IErrorReporterCopyright © 2015. All rights reserved.