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)
IOutputCollector
Returns the task ids that received the tuples.
emit
in interface IOutputCollector
public void emitDirect(int task, String stream, Collection<Tuple> anchors, List<Object> tuple)
emitDirect
in interface IOutputCollector
public void ack(Tuple tuple)
ack
in interface IOutputCollector
public void fail(Tuple tuple)
fail
in interface IOutputCollector
public void flush()
flush
in interface IOutputCollector
public void resetTimeout(Tuple tuple)
resetTimeout
in interface IOutputCollector
public void reportError(Throwable error)
reportError
in interface IErrorReporter
Copyright © 2022 The Apache Software Foundation. All rights reserved.