public class GlobalCountBolt extends BaseBasicBolt
Globally count number of messages
| Constructor and Description |
|---|
GlobalCountBolt() |
| Modifier and Type | Method and Description |
|---|---|
void |
declareOutputFields(OutputFieldsDeclarer declarer) |
void |
execute(Tuple tuple,
BasicOutputCollector collector) |
void |
prepare(Map config,
TopologyContext context) |
cleanupgetComponentConfigurationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetComponentConfigurationpublic void prepare(Map config, TopologyContext context)
prepare in interface IBasicBoltprepare in class BaseBasicBoltpublic void execute(Tuple tuple, BasicOutputCollector collector)
public void declareOutputFields(OutputFieldsDeclarer declarer)
Copyright © 2018 The Apache Software Foundation. All Rights Reserved.