Package org.apache.iceberg.metrics
Class LoggingMetricsReporter
- java.lang.Object
 - 
- org.apache.iceberg.metrics.LoggingMetricsReporter
 
 
- 
- All Implemented Interfaces:
 java.io.Closeable,java.lang.AutoCloseable,MetricsReporter
public class LoggingMetricsReporter extends java.lang.Object implements MetricsReporter
A defaultMetricsReporterimplementation that logs theMetricsReportto 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 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, wait 
- 
Methods inherited from interface org.apache.iceberg.metrics.MetricsReporter
close, initialize 
 - 
 
 - 
 
- 
- 
Method Detail
- 
instance
public static LoggingMetricsReporter instance()
 
- 
report
public void report(MetricsReport 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.
 
 - 
 
 -