Interface ReporterFactory

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.codahale.metrics.ScheduledReporter build​(com.codahale.metrics.MetricRegistry registry)
      Configures and builds a ScheduledReporter instance for the given registry.
      Optional<Duration> getFrequency()
      Returns the frequency for reporting metrics.
    • Method Detail

      • getFrequency

        Optional<Duration> getFrequency()
        Returns the frequency for reporting metrics.
        Returns:
        the frequency for reporting metrics.
      • build

        com.codahale.metrics.ScheduledReporter build​(com.codahale.metrics.MetricRegistry registry)
        Configures and builds a ScheduledReporter instance for the given registry.
        Parameters:
        registry - the metrics registry to report metrics from.
        Returns:
        a reporter configured for the given metrics registry.