public class DefaultMeter extends AbstractMeter
Meter.Builder, Meter.Id, Meter.Type
Constructor and Description |
---|
DefaultMeter(Meter.Id id,
Meter.Type type,
java.lang.Iterable<Measurement> measurements) |
Modifier and Type | Method and Description |
---|---|
Meter.Type |
getType() |
java.lang.Iterable<Measurement> |
measure()
Get a set of measurements.
|
getId
public DefaultMeter(Meter.Id id, Meter.Type type, java.lang.Iterable<Measurement> measurements)
public java.lang.Iterable<Measurement> measure()
Meter
public Meter.Type getType()