From 19d013c09626accc8235b03f28ca18566c5a5e19 Mon Sep 17 00:00:00 2001 From: ialbert Date: Fri, 21 Oct 2022 12:26:20 +0300 Subject: [PATCH] imdg connect log fix --- .../platform/imdg/iml/hazelcast/util/HazelcastHelper.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platform-parent/platform-imdg-api-hazelcast-impl/src/main/java/ru/spcex/platform/imdg/iml/hazelcast/util/HazelcastHelper.java b/platform-parent/platform-imdg-api-hazelcast-impl/src/main/java/ru/spcex/platform/imdg/iml/hazelcast/util/HazelcastHelper.java index cf00b8825..3b5579484 100644 --- a/platform-parent/platform-imdg-api-hazelcast-impl/src/main/java/ru/spcex/platform/imdg/iml/hazelcast/util/HazelcastHelper.java +++ b/platform-parent/platform-imdg-api-hazelcast-impl/src/main/java/ru/spcex/platform/imdg/iml/hazelcast/util/HazelcastHelper.java @@ -104,14 +104,14 @@ public final class HazelcastHelper { try { while (!getIdmgState(hazelcast)) { if (sleepCount++ % 30 == 0) - log.info("Wait till STORAGE be ready..."); + log.info("Wait till IMDG be ready..."); Thread.sleep(100); } - log.info("STORAGE connected!"); + log.info("IMDG connected!"); } catch (HazelcastException hcEx) { // проброс InterruptException из Hazelcast if (hcEx instanceof HazelcastException && hcEx.getCause() instanceof InterruptedException) - throw new InterruptedException("Can not obtain storage for check state, cause has interrupted. " + hcEx); + throw new InterruptedException("Can not obtain IMDG for check state, cause has interrupted. " + hcEx); throw hcEx; } }