public class NullMetricsScope extends java.lang.Object implements IMetricsScope
| Constructor and Description |
|---|
NullMetricsScope() |
| Modifier and Type | Method and Description |
|---|---|
void |
addData(java.lang.String name,
double value,
StandardUnit unit)
Adds a data point to this IMetricsScope.
|
void |
addDimension(java.lang.String name,
java.lang.String value)
Adds a dimension that applies to all metrics in this IMetricsScope.
|
void |
end()
Flushes the data from this IMetricsScope and causes future calls to addData and addDimension to fail.
|
public void addData(java.lang.String name,
double value,
StandardUnit unit)
IMetricsScopeaddData in interface IMetricsScopename - data point namevalue - data point valueunit - unit of data pointpublic void addDimension(java.lang.String name,
java.lang.String value)
IMetricsScopeaddDimension in interface IMetricsScopename - dimension namevalue - dimension valuepublic void end()
IMetricsScopeend in interface IMetricsScope