backtype.storm.coordination
Interface IBatchBolt<T>
- All Superinterfaces:
- IComponent, Serializable
- All Known Implementing Classes:
- BaseBatchBolt, BaseTransactionalBolt, BatchNumberList, CountingBatchBolt, CountingCommitBolt, KeyedCountingBatchBolt, KeyedCountingCommitterBolt, KeyedSummingBatchBolt
public interface IBatchBolt<T>
- extends Serializable, IComponent
prepare
void prepare(Map conf,
TopologyContext context,
BatchOutputCollector collector,
T id)
execute
void execute(Tuple tuple)
finishBatch
void finishBatch()
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.