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
-
Method Summary
Modifier and TypeMethodDescriptionstatic LoggingMetricsReporter
instance()
void
report
(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, wait
Methods inherited from interface org.apache.iceberg.metrics.MetricsReporter
close, initialize
-
Constructor Details
-
LoggingMetricsReporter
public LoggingMetricsReporter()
-
-
Method Details
-
instance
-
report
Description copied from interface:MetricsReporter
Indicates that an operation is done by reporting aMetricsReport
. AMetricsReport
is usually directly derived from aMetricsReport
instance.- Specified by:
report
in interfaceMetricsReporter
- Parameters:
report
- TheMetricsReport
to report.
-