public class SuperstepMetricsRegistry extends GiraphMetricsRegistry
| Modifier | Constructor and Description | 
|---|---|
| protected  | SuperstepMetricsRegistry(com.yammer.metrics.core.MetricsRegistry registry,
                        com.yammer.metrics.reporting.JmxReporter reporter,
                        String groupName,
                        String type)Constructor | 
| Modifier and Type | Method and Description | 
|---|---|
| static SuperstepMetricsRegistry | create(GiraphConfiguration conf,
      long superstep)Create with Hadoop Configuration and superstep number. | 
| static SuperstepMetricsRegistry | createFake()Create an empty registry | 
| long | getSuperstep()Get superstep stored here | 
| void | printSummary(PrintStream out)Print human readable summary of superstep metrics. | 
| void | setSuperstep(long superstep)Set superstep number used. | 
create, createWithOptional, getAll, getBiasedHistogram, getCounter, getExistingGauge, getGauge, getGroupName, getInternalRegistry, getMeter, getMeter, getTimer, getType, getUniformHistogram, makeMetricName, printToStream, setGroupName, setType, shutdownprotected SuperstepMetricsRegistry(com.yammer.metrics.core.MetricsRegistry registry,
                                   com.yammer.metrics.reporting.JmxReporter reporter,
                                   String groupName,
                                   String type)
registry - MetricsRegistry to usereporter - JmxReporter to usegroupName - String grouping for metricstype - String type name for metricspublic static SuperstepMetricsRegistry create(GiraphConfiguration conf, long superstep)
conf - Hadoop Configuration to use.superstep - number of superstep to use as group for metrics.public static SuperstepMetricsRegistry createFake()
public long getSuperstep()
public void setSuperstep(long superstep)
superstep - long number of superstep to use.public void printSummary(PrintStream out)
out - PrintStream to write to.Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.