- All Superinterfaces:
Sample
- Enclosing interface:
Sample
Sample that does not exist as an actual observation but is derived from actual observations. E.g., mean.
Most derived sample instances have a reference to an actual sample that is an exemplar for the derived sample. Because
derived samples are typically computed from actual samples, the value is a double (rather than a long as with the actual
samples).
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.metrics.api.Sample
Sample.Derived, Sample.Labeled
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Sample.Derived
A derived sample with zero value and no reference. -
Method Summary
Methods inherited from interface io.helidon.metrics.api.Sample
doubleValue
-
Field Details
-
ZERO
A derived sample with zero value and no reference.
-
-
Method Details
-
value
double value()Derived value (usually computed).- Returns:
- value
-
sample
Sample.Labeled sample()Sample.- Returns:
- sample
-