public interface IStatefulBolt<T extends State> extends IStatefulComponent<T>
The framework provides at-least once guarantee for the state updates. The stateful bolts are expected to anchor the tuples while emitting and ack the input tuples once its processed.
Modifier and Type | Method and Description |
---|---|
void |
cleanup() |
void |
execute(Tuple input) |
void |
prepare(java.util.Map<java.lang.String,java.lang.Object> topoConf,
TopologyContext context,
OutputCollector collector) |
initState, preCommit, prePrepare, preRollback
declareOutputFields, getComponentConfiguration
void prepare(java.util.Map<java.lang.String,java.lang.Object> topoConf, TopologyContext context, OutputCollector collector)
void execute(Tuple input)
void cleanup()