murblanc commented on a change in pull request #2133: URL: https://github.com/apache/lucene-solr/pull/2133#discussion_r545146525
########## File path: solr/core/src/java/org/apache/solr/cluster/placement/AttributeValues.java ########## @@ -65,11 +65,16 @@ /** * For the given node: metric of specific name and registry */ - Optional<Double> getMetric(Node node, String metricName, AttributeFetcher.NodeMetricRegistry registry); + Optional<Object> getMetric(Node node, String metricName, AttributeFetcher.NodeMetricRegistry registry); /** - * Get a non node related metric of specific scope and name + * Get any metric using a fully-qualified metric key. */ - Optional<Double> getMetric(String scope, String metricName); + Optional<Object> getNodeMetric(Node node, String metricKey); + + /** + * Review comment: Javadoc :-) ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org