nizhikov commented on code in PR #10950:
URL: https://github.com/apache/ignite/pull/10950#discussion_r1349863307
##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/wal/reader/StandaloneGridKernalContext.java:
##########
@@ -694,4 +694,22 @@ private void setField(IgniteEx kernal, String name, Object
val) throws NoSuchFie
@Override public Executor getAsyncContinuationExecutor() {
return null;
}
+
+ /**
+ * @param kctx Kernal context.
+ * @throws IgniteCheckedException In case of any error.
+ */
+ public static void startAll(GridKernalContext kctx) throws
IgniteCheckedException {
+ for (GridComponent comp : kctx)
+ comp.start();
+ }
+
+ /**
+ * @param kctx Kernal context.
+ * @throws IgniteCheckedException In case of any error.
+ */
+ public static void closeAll(GridKernalContext kctx) throws
IgniteCheckedException {
Review Comment:
renamed
##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/wal/reader/StandaloneGridKernalContext.java:
##########
@@ -694,4 +694,22 @@ private void setField(IgniteEx kernal, String name, Object
val) throws NoSuchFie
@Override public Executor getAsyncContinuationExecutor() {
return null;
}
+
+ /**
+ * @param kctx Kernal context.
+ * @throws IgniteCheckedException In case of any error.
+ */
+ public static void startAll(GridKernalContext kctx) throws
IgniteCheckedException {
Review Comment:
renamed
--
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]