Package org.apache.iceberg.metrics
Class LoggingMetricsReporter
java.lang.Object
org.apache.iceberg.metrics.LoggingMetricsReporter
- All Implemented Interfaces:
Closeable,AutoCloseable,MetricsReporter
A default
MetricsReporter implementation that logs the MetricsReport to the log
file.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LoggingMetricsReporterinstance()voidreport(MetricsReport report) Indicates that an operation is done by reporting aMetricsReport.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.iceberg.metrics.MetricsReporter
close, initialize
-
Constructor Details
-
LoggingMetricsReporter
public LoggingMetricsReporter()
-
-
Method Details
-
instance
-
report
Description copied from interface:MetricsReporterIndicates that an operation is done by reporting aMetricsReport. AMetricsReportis usually directly derived from aMetricsReportinstance.- Specified by:
reportin interfaceMetricsReporter- Parameters:
report- TheMetricsReportto report.
-