edman124 commented on code in PR #29879:
URL: https://github.com/apache/beam/pull/29879#discussion_r1456570717
##########
runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/StreamingDataflowWorker.java:
##########
@@ -276,13 +277,11 @@ public class StreamingDataflowWorker {
private final HotKeyLogger hotKeyLogger;
// Periodic sender of debug information to the debug capture service.
private final DebugCapture.@Nullable Manager debugCaptureManager;
- private ScheduledExecutorService refreshWorkTimer;
- private ScheduledExecutorService statusPageTimer;
- private ScheduledExecutorService globalWorkerUpdatesTimer;
+ // Map from timer name to ScheduledExecutorService
+ private ConcurrentMap<String, ScheduledExecutorService> timersMap = new
ConcurrentHashMap();
Review Comment:
Done.
--
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]