public class BoltOutputCollectorImpl extends Object implements IOutputCollector
| Constructor and Description |
|---|
BoltOutputCollectorImpl(BoltExecutor executor,
Task taskData,
Random random,
boolean isEventLoggers,
boolean ackingEnabled,
boolean isDebug) |
| Modifier and Type | Method and Description |
|---|---|
void |
ack(Tuple input) |
List<Integer> |
emit(String streamId,
Collection<Tuple> anchors,
List<Object> tuple)
Returns the task ids that received the tuples.
|
void |
emitDirect(int taskId,
String streamId,
Collection<Tuple> anchors,
List<Object> tuple) |
void |
fail(Tuple input) |
void |
flush() |
void |
reportError(Throwable error) |
void |
resetTimeout(Tuple input) |
public BoltOutputCollectorImpl(BoltExecutor executor, Task taskData, Random random, boolean isEventLoggers, boolean ackingEnabled, boolean isDebug)
public List<Integer> emit(String streamId, Collection<Tuple> anchors, List<Object> tuple)
IOutputCollectorReturns the task ids that received the tuples.
emit in interface IOutputCollectorpublic void emitDirect(int taskId,
String streamId,
Collection<Tuple> anchors,
List<Object> tuple)
emitDirect in interface IOutputCollectorpublic void ack(Tuple input)
ack in interface IOutputCollectorpublic void fail(Tuple input)
fail in interface IOutputCollectorpublic void resetTimeout(Tuple input)
resetTimeout in interface IOutputCollectorpublic void flush()
flush in interface IOutputCollectorpublic void reportError(Throwable error)
reportError in interface IErrorReporterCopyright © 2019 The Apache Software Foundation. All rights reserved.