absurdfarce commented on code in PR #1916: URL: https://github.com/apache/cassandra-java-driver/pull/1916#discussion_r1532689998
########## metrics/micrometer/src/main/java/com/datastax/oss/driver/internal/metrics/micrometer/MicrometerSessionMetricUpdater.java: ########## @@ -30,22 +30,28 @@ import io.micrometer.core.instrument.Timer; import java.time.Duration; import java.util.Set; +import java.util.function.Supplier; import net.jcip.annotations.ThreadSafe; @ThreadSafe public class MicrometerSessionMetricUpdater extends MicrometerMetricUpdater<SessionMetric> implements SessionMetricUpdater { + private final Supplier<Number> connectedNodesSupplier = this::connectedNodes; Review Comment: Same as the similar question asked above. -- 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: commits-unsubscr...@cassandra.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org