adityamukho commented on code in PR #7488:
URL: https://github.com/apache/ignite-3/pull/7488#discussion_r2758000696


##########
modules/workers/src/main/java/org/apache/ignite/internal/worker/CriticalSingleThreadExecutor.java:
##########
@@ -44,6 +53,24 @@ public CriticalSingleThreadExecutor(long keepAliveTime, 
TimeUnit unit, BlockingQ
         super(1, 1, keepAliveTime, unit, workQueue, threadFactory);
     }
 
+    /**
+     * Initialize the metric source to track this thread pool's metrics.
+     *
+     * @param metricManager the metric manager used to register the source.
+     * @param name the name of the metric.
+     * @param description the metric description.
+     */
+    public void initMetricSource(MetricManager metricManager, String name, 
String description) {

Review Comment:
   Doable, but I wanted to keep the initialization similar to that of the 
`CriticalStripedThreadPoolExecutor`.



-- 
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]

Reply via email to