public final class WordCountTopology extends Twister2StormWorker
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
WordCountTopology.ConsumerBolt
A bolt that counts the words that it receives 
 | 
static class  | 
WordCountTopology.WordSpout
A spout that emits a random word 
 | 
computeEnvironment, config, persistentVolume, taskExecutor, volatileVolume, workerController, workerEnvironment, workerId| Constructor and Description | 
|---|
WordCountTopology()  | 
| Modifier and Type | Method and Description | 
|---|---|
StormTopology | 
buildTopology()  | 
static void | 
main(java.lang.String[] args)
Main method 
 | 
executeexecutepublic StormTopology buildTopology()
buildTopology in class Twister2StormWorkerpublic static void main(java.lang.String[] args)