private static final class MetricReceiver.NullCounter extends Counter
Constructor and Description |
---|
NullCounter() |
Modifier and Type | Method and Description |
---|---|
void |
add()
Increase the dimension-less/zero-point value of this counter by 1.
|
void |
add(long n)
Add to the dimension-less/zero-point value of this counter.
|
void |
add(long n,
Point p)
Add to this metric at the given point.
|
void |
add(Point p)
Increase this metric at the given point by 1.
|
PointBuilder |
builder()
Create a PointBuilder with default dimension values as given when this
counter was declared.
|
public void add()
Counter
public void add(long n)
Counter
public void add(Point p)
Counter
public void add(long n, Point p)
Counter
public PointBuilder builder()
Counter
Copyright © 2017. All rights reserved.