tkalkirill commented on code in PR #815:
URL: https://github.com/apache/ignite-3/pull/815#discussion_r882759647
##########
modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java:
##########
@@ -733,4 +734,27 @@ public static <T> T
getUninterruptibly(CompletableFuture<T> future) throws Execu
}
}
}
+
+ /**
+ * Stops workers from given collection and waits for their completion.
+ *
+ * @param workers Workers collection.
+ * @param cancel Whether it should cancel workers.
+ * @param log Logger.
+ */
+ public static void awaitForWorkersStop(Collection<IgniteWorker> workers,
boolean cancel, @Nullable IgniteLogger log) {
Review Comment:
Fix it
--
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]