Java Examples for eu.stratosphere.streaming.util.PerformanceCounter
The following java examples will help you to understand the usage of eu.stratosphere.streaming.util.PerformanceCounter. These source code samples are taken from different open source projects.
Example 1
Project: strato-workshop-master File: WordCountTopology.java View source code |
@Override
public void open(Map conf, TopologyContext context, SpoutOutputCollector collector) {
_collector = collector;
this.performanceCounter = new PerformanceCounter("pc", 1000, 1000, 30000, counterPath + "Spout" + context.getThisTaskId());
}