public final class EmptyMetricCollection extends Object implements MetricCollection
| Constructor and Description |
|---|
EmptyMetricCollection() |
| Modifier and Type | Method and Description |
|---|---|
List<MetricCollection> |
children() |
static EmptyMetricCollection |
create() |
Instant |
creationTime() |
Iterator<MetricRecord<?>> |
iterator() |
<T> List<T> |
metricValues(SdkMetric<T> metric)
Return all the values of the given metric.
|
String |
name() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchildrenWithName, streamforEach, spliteratorpublic String name()
name in interface MetricCollectionpublic <T> List<T> metricValues(SdkMetric<T> metric)
MetricCollectionmetricValues in interface MetricCollectionT - The type of the value.metric - The metric.public List<MetricCollection> children()
children in interface MetricCollectionpublic Instant creationTime()
creationTime in interface MetricCollectionpublic Iterator<MetricRecord<?>> iterator()
iterator in interface Iterable<MetricRecord<?>>public static EmptyMetricCollection create()
Copyright © 2023. All rights reserved.