Skip to content

Commit

Permalink
Refining comments
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterF778 committed Oct 31, 2022
1 parent 112a04d commit 252be45
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,14 @@
*/
public interface MetricAttributeExtractor {

/**
* Provide a String value to be used as the value of a metric attribute.
*
* @param server MBeanServer to query, must not be null if the extraction is from an MBean
* attribute
* @param objectName the identifier of the MBean to query, must not be null if the extraction is
* from an MBean attribute, or from the ObjectName parameter
* @return the value of the attribute, can be null if extraction failed
*/
String extractValue(MBeanServer server, ObjectName objectName);
}

0 comments on commit 252be45

Please sign in to comment.