You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ag...@apache.org on 2017/04/14 11:09:49 UTC

ignite git commit: IGNITE-4986 - .NET debug

Repository: ignite
Updated Branches:
  refs/heads/ignite-4986 [created] ca4ce7e87


IGNITE-4986 - .NET debug


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/ca4ce7e8
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/ca4ce7e8
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/ca4ce7e8

Branch: refs/heads/ignite-4986
Commit: ca4ce7e87824b1f7292c6401baa2e22964f85138
Parents: 7e8d9e8
Author: Alexey Goncharuk <al...@gmail.com>
Authored: Fri Apr 14 14:10:21 2017 +0300
Committer: Alexey Goncharuk <al...@gmail.com>
Committed: Fri Apr 14 14:10:21 2017 +0300

----------------------------------------------------------------------
 .../main/java/org/apache/ignite/internal/util/IgniteUtils.java  | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/ca4ce7e8/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java b/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java
index 2023749..794f5de 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java
@@ -8718,12 +8718,17 @@ public abstract class IgniteUtils {
         for (Object obj : objs) {
             if (obj instanceof LifecycleAware) {
                 try {
+                    U.debug("Going to stop lifecycle aware: " + obj);
+
                     ((LifecycleAware)obj).stop();
                 }
                 catch (Exception e) {
                     U.error(log, "Failed to stop component (ignoring): " + obj, e);
                 }
             }
+            else {
+                U.debug("Object is NOT lifecycle aware: " + obj);
+            }
         }
     }