Interface MetricsReporter

All Superinterfaces:
AutoCloseable, Closeable
All Known Implementing Classes:
InMemoryMetricsReporter, LoggingMetricsReporter
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface MetricsReporter extends Closeable
This interface defines the basic API for reporting metrics for operations to a Table.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
     
    default void
    initialize(Map<String,String> properties)
    A custom MetricsReporter implementation must have a no-arg constructor, which will be called first.
    void
    Indicates that an operation is done by reporting a MetricsReport.