Interface CanCollectPerformanceMetrics

All Known Implementing Classes:
AuroraTopologyService

public interface CanCollectPerformanceMetrics
This is a generic interface for performance metrics. It can be implemented by any class that requires collecting internal metrics.
  • Method Summary

    Modifier and Type Method Description
    void reportMetrics​(Log log)
    Reports (prints out) collected metrics to provided logger.
    void setPerformanceMetricsEnabled​(boolean isEnabled)
    Enables or disables collecting of internal performance metrics.
  • Method Details

    • setPerformanceMetricsEnabled

      void setPerformanceMetricsEnabled​(boolean isEnabled)
      Enables or disables collecting of internal performance metrics.
      Parameters:
      isEnabled - True to enable internal metrics
    • reportMetrics

      void reportMetrics​(Log log)
      Reports (prints out) collected metrics to provided logger.
      Parameters:
      log - Logger instance to report collected metrics to.