Class EmptyMetricCollection
java.lang.Object
software.amazon.awssdk.metrics.internal.EmptyMetricCollection
- All Implemented Interfaces:
Iterable<MetricRecord<?>>,MetricCollection
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchildren()static EmptyMetricCollectioncreate()Iterator<MetricRecord<?>> iterator()<T> List<T> metricValues(SdkMetric<T> metric) Return all the values of the given metric.name()Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface software.amazon.awssdk.metrics.MetricCollection
childrenWithName, stream
-
Constructor Details
-
EmptyMetricCollection
public EmptyMetricCollection()
-
-
Method Details
-
name
- Specified by:
namein interfaceMetricCollection- Returns:
- The name of this metric collection.
-
metricValues
Description copied from interface:MetricCollectionReturn all the values of the given metric.- Specified by:
metricValuesin interfaceMetricCollection- Type Parameters:
T- The type of the value.- Parameters:
metric- The metric.- Returns:
- All of the values of this metric.
-
children
- Specified by:
childrenin interfaceMetricCollection- Returns:
- The child metric collections.
-
creationTime
- Specified by:
creationTimein interfaceMetricCollection- Returns:
- The time at which this collection was created.
-
iterator
- Specified by:
iteratorin interfaceIterable<MetricRecord<?>>
-
create
-