storm.trident.topology
Class TridentBoltExecutor.CoordinatedOutputCollector
java.lang.Object
storm.trident.topology.TridentBoltExecutor.CoordinatedOutputCollector
- All Implemented Interfaces:
- IErrorReporter, IOutputCollector
- Enclosing class:
- TridentBoltExecutor
public class TridentBoltExecutor.CoordinatedOutputCollector
- extends Object
- implements IOutputCollector
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TridentBoltExecutor.CoordinatedOutputCollector
public TridentBoltExecutor.CoordinatedOutputCollector(IOutputCollector delegate)
setCurrBatch
public void setCurrBatch(TridentBoltExecutor.TrackedBatch batch)
emit
public List<Integer> emit(String stream,
Collection<Tuple> anchors,
List<Object> tuple)
- Description copied from interface:
IOutputCollector
- Returns the task ids that received the tuples.
- Specified by:
emit in interface IOutputCollector
emitDirect
public void emitDirect(int task,
String stream,
Collection<Tuple> anchors,
List<Object> tuple)
- Specified by:
emitDirect in interface IOutputCollector
ack
public void ack(Tuple tuple)
- Specified by:
ack in interface IOutputCollector
fail
public void fail(Tuple tuple)
- Specified by:
fail in interface IOutputCollector
reportError
public void reportError(Throwable error)
- Specified by:
reportError in interface IErrorReporter
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.