Interface Metrics.MetricSampleCollection
- Enclosing interface:
- Metrics
public static interface Metrics.MetricSampleCollection
Represents a collection of metric samples.
- Since:
- 6.10
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
Returns the name of the metric sample collection.Returns the list of metric samples in the collection.getType()
Returns the type of the metric samples in the collection.getUnit()
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
Metrics.MetricType 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
-