Interface AmbryHealthReport


  • public interface AmbryHealthReport
    Health report for reporting various stats within a node.
    • Method Detail

      • getStatsFieldName

        java.lang.String getStatsFieldName()
        Get the field name (accessor) to fetch stats in the health report.
        Returns:
        the key in the health report that holds the stats
      • getReportName

        java.lang.String getReportName()
        Get the name of the health report. One Health Report can have many fields and getStatsFieldName() is one such field. The report's structure is Map.
        Returns:
        the name of the health report
      • getStatsReportType

        StatsReportType getStatsReportType()
        Get the type of stats report specified in this health report. The stats report type is defined in StatsReportType
        Returns:
        the type of stats represented by this health report
      • getRecentHealthReport

        java.util.Map<java.lang.String,​java.lang.String> getRecentHealthReport()
        Get the most recent health report in the form of a Map.
        Returns:
        a Map of String to String containing the content of the health report
      • getAggregateIntervalInMinutes

        long getAggregateIntervalInMinutes()
        Get the cluster wide aggregate period for the health report in minutes.
        Returns:
        the cluster wide aggregate period in minutes