Interface Metrics.MetricsResult

Enclosing interface:
Metrics

public static interface Metrics.MetricsResult
The result of a fetch metrics operation, initiated by a Metrics.MetricsRequest.
Since:
6.10
  • Method Details

    • getServerNames

      Set<String> getServerNames()
      Returns a list of server names for which the result has metrics. The names may be used with getMetrics(String).
      Returns:
      a set of server names
    • getMetrics

      List<Metrics.MetricSampleCollection> getMetrics(String serverName)
      Returns the metrics for a server.
      Parameters:
      serverName - the name of the server
      Returns:
      the metrics for the server