Interface Metrics.MetricSampleCollection

Enclosing interface:
Metrics

public static interface Metrics.MetricSampleCollection
Represents a collection of metric samples.
Since:
6.10
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the name of the metric sample collection.
    Returns the list of metric samples in the collection.
    Returns the type of the metric samples in the collection.
    Returns the unit of measurement for the metric samples in the collection.
  • Method Details

    • getName

      String getName()
      Returns the name of the metric sample collection.
      Returns:
      the name of the metric sample collection
    • getType

      Returns the type of the metric samples in the collection.
      Returns:
      the MetricType for the samples in the collection
    • getUnit

      String getUnit()
      Returns the unit of measurement for the metric samples in the collection.
      Returns:
      the unit of measurement for the metric samples
    • getSamples

      List<Metrics.MetricSample> getSamples()
      Returns the list of metric samples in the collection.
      Returns:
      the list of metric samples