@InterfaceStability.Evolving @InterfaceAudience.Private public class MetricsMaster extends Object
This class has a number of metrics variables that are publicly accessible; these variables (objects) have methods to update their values.
Modifier and Type | Field and Description |
---|---|
private static org.apache.commons.logging.Log |
LOG |
private MetricsMasterSource |
masterSource |
Constructor and Description |
---|
MetricsMaster(MetricsMasterWrapper masterWrapper) |
Modifier and Type | Method and Description |
---|---|
MetricsMasterSource |
getMetricsSource() |
void |
incrementRequests(long inc) |
private static final org.apache.commons.logging.Log LOG
private MetricsMasterSource masterSource
public MetricsMaster(MetricsMasterWrapper masterWrapper)
public MetricsMasterSource getMetricsSource()
public void incrementRequests(long inc)
inc
- How much to add to requests.Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.