xianjingfeng commented on code in PR #2113:
URL:
https://github.com/apache/incubator-uniffle/pull/2113#discussion_r1756020914
##########
server/src/main/java/org/apache/uniffle/server/ShuffleServerMetrics.java:
##########
@@ -513,7 +515,7 @@ private static void setUpMetrics(ShuffleServerConf
serverConf) {
.register(metricsManager.getCollectorRegistry());
}
- public static void addLabeledGauge(String name, Supplier<Double> supplier) {
+ public static <T> void addLabeledGauge(String name, Supplier<T> supplier) {
Review Comment:
T extends Number?
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]