Interface Sample.Labeled

All Superinterfaces:
Sample
All Known Implementing Classes:
LabeledSample
Enclosing interface:
Sample

public static interface Sample.Labeled extends Sample
A sample with a label and a timestamp, typically representing actual observations (rather than derived values).
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.helidon.metrics.api.Sample

    Sample.Derived, Sample.Labeled
  • Method Summary

    Modifier and Type
    Method
    Description
    Value label.
    long
    Timestamp the value was recorded.
    double
    The value.

    Methods inherited from interface io.helidon.metrics.api.Sample

    doubleValue
  • Method Details

    • value

      double value()
      The value.
      Returns:
      value
    • label

      String label()
      Value label.
      Returns:
      lavel
    • timestamp

      long timestamp()
      Timestamp the value was recorded.
      Returns:
      timestamp