Package org.apache.iceberg.metrics
Class LoggingMetricsReporter
- java.lang.Object
-
- org.apache.iceberg.metrics.LoggingMetricsReporter
-
- All Implemented Interfaces:
MetricsReporter
public class LoggingMetricsReporter extends java.lang.Object implements MetricsReporter
A defaultMetricsReporter
implementation that logs theMetricsReport
to the log file.
-
-
Constructor Summary
Constructors Constructor Description LoggingMetricsReporter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static 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
initialize
-
-
-
-
Method Detail
-
instance
public static LoggingMetricsReporter instance()
-
report
public void report(MetricsReport 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.
-
-