Interface JvmGCMetricsLogger

All Known Implementing Classes:
JvmDefaultGCMetricsLogger, JvmG1GCMetricsLogger

public interface JvmGCMetricsLogger
JvmGCMetricsLogger can be implemented for each specific GC type which retrieves GC count and pause time and logs it into metrics.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    JvmGCMetricsLogger should update the metrics with GC specific dimensions and value.
    void
    It will be triggered by JvmMetrics periodically to refresh stats at interval (default = 1 min).
  • Method Details

    • logMetrics

      void logMetrics(Metrics metrics)
      JvmGCMetricsLogger should update the metrics with GC specific dimensions and value.
      Parameters:
      metrics -
    • refresh

      void refresh()
      It will be triggered by JvmMetrics periodically to refresh stats at interval (default = 1 min).