ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agoncha...@apache.org
Subject ignite git commit: IGNITE-4986 - .NET debug
Date Fri, 14 Apr 2017 11:09:49 GMT
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 <alexey.goncharuk@gmail.com>
Authored: Fri Apr 14 14:10:21 2017 +0300
Committer: Alexey Goncharuk <alexey.goncharuk@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);
+            }
         }
     }
 


Mime
View raw message