Class NoOpMetricCollector
java.lang.Object
software.amazon.awssdk.metrics.NoOpMetricCollector
-
Method Summary
Modifier and TypeMethodDescriptioncollect()Return the collected metrics.static NoOpMetricCollectorcreate()createChild(String name) Create a child of this metric collector.name()<T> voidreportMetric(SdkMetric<T> metric, T data) Report a metric.
-
Method Details
-
name
- Specified by:
namein interfaceMetricCollector- Returns:
- The name of this collector.
-
reportMetric
Description copied from interface:MetricCollectorReport a metric.- Specified by:
reportMetricin interfaceMetricCollector
-
createChild
Description copied from interface:MetricCollectorCreate a child of this metric collector.- Specified by:
createChildin interfaceMetricCollector- Parameters:
name- The name of the child collector.- Returns:
- The child collector.
-
collect
Description copied from interface:MetricCollectorReturn the collected metrics.Calling
collect()prevents further invocations ofMetricCollector.reportMetric(SdkMetric, Object).- Specified by:
collectin interfaceMetricCollector- Returns:
- The collected metrics.
-
create
-