storm.trident.topology
Interface ITridentBatchBolt
- All Superinterfaces:
- IComponent, Serializable
- All Known Implementing Classes:
- SubtopologyBolt, TridentSpoutExecutor
public interface ITridentBatchBolt
- extends IComponent
prepare
void prepare(Map conf,
TopologyContext context,
BatchOutputCollector collector)
execute
void execute(BatchInfo batchInfo,
Tuple tuple)
finishBatch
void finishBatch(BatchInfo batchInfo)
initBatchState
Object initBatchState(String batchGroup,
Object batchId)
cleanup
void cleanup()
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.