public class CoordinatedBolt.CoordinatedOutputCollector extends Object implements IOutputCollector
| Constructor and Description |
|---|
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 |
flush() |
void |
reportError(Throwable error) |
void |
resetTimeout(Tuple tuple) |
public CoordinatedOutputCollector(IOutputCollector delegate)
public List<Integer> emit(String stream, Collection<Tuple> anchors, List<Object> tuple)
IOutputCollectorReturns the task ids that received the tuples.
emit 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 flush()
flush in interface IOutputCollectorpublic void resetTimeout(Tuple tuple)
resetTimeout in interface IOutputCollectorpublic void reportError(Throwable error)
reportError in interface IErrorReporterCopyright © 2019 The Apache Software Foundation. All rights reserved.