Class ServerHealthStatusMetricDao


  • public class ServerHealthStatusMetricDao
    extends AbstractDao
    The Class ServerHealthStatusMetricsDao.
    • Constructor Detail

      • ServerHealthStatusMetricDao

        public ServerHealthStatusMetricDao()
    • Method Detail

      • getOrCreateServerHealthStatusMetrics

        public ServerHealthStatusMetric getOrCreateServerHealthStatusMetrics​(String serverName,
                                                                             int index)
        Gets the server health status metrics by name and index.
        Parameters:
        serverName - the server name
        index - the index
        Returns:
        the server health status metrics by name and index
      • getServerHealthStatusMetrics

        public ServerHealthStatusMetric getServerHealthStatusMetrics​(String serverName,
                                                                     int index)
        Gets the server health status metrics by name and index.
        Parameters:
        serverName - the server name
        index - the index
        Returns:
        the server health status metrics by name and index
      • getFormServerHealthStatusMetrics

        public List<ServerHealthStatusMetric> getFormServerHealthStatusMetrics​(String groupName,
                                                                               int index)
        Return the list of form server health metrics for the given server group and index.
        Parameters:
        groupName - the server group name
        index - the index
        Returns:
        the server health status metrics by server group name and index
        Since:
        4.0.0
      • getServerHealthStatusMetricsMap

        public List<ServerHealthStatusMetric> getServerHealthStatusMetricsMap​(String serverName)
        Gets the server health status metrics map.
        Parameters:
        serverName - the server name
        Returns:
        the server health status metrics map
      • getLastMinuteServerHealthStatusMetricsMap

        public List<ServerHealthStatusMetric> getLastMinuteServerHealthStatusMetricsMap​(String serverName,
                                                                                        int index)
        Gets the last minute server health status metrics map.
        Parameters:
        serverName - the server name
        index - the index
        Returns:
        the last minute server health status metrics map