Exposed IgniteKernal.dumpDebugInfo() to MX bean
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/70a8a92d Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/70a8a92d Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/70a8a92d Branch: refs/heads/master Commit: 70a8a92da3cf39b0ed1cf18effd8fae1478cb2bd Parents: 6f3ef6a Author: Valentin Kulichenko <valentin.kuliche...@gmail.com> Authored: Wed Sep 23 17:23:31 2015 -0700 Committer: Valentin Kulichenko <valentin.kuliche...@gmail.com> Committed: Wed Sep 23 17:23:31 2015 -0700 ---------------------------------------------------------------------- .../main/java/org/apache/ignite/internal/IgniteKernal.java | 4 +--- .../src/main/java/org/apache/ignite/mxbean/IgniteMXBean.java | 8 +++++++- 2 files changed, 8 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/70a8a92d/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java b/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java index 82db059..60725e4 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java @@ -3153,9 +3153,7 @@ public class IgniteKernal implements IgniteEx, IgniteMXBean, Externalizable { return ctx.isDaemon() && U.hasAnnotation(comp.getClass(), SkipDaemon.class); } - /** - * - */ + /** {@inheritDoc} */ public void dumpDebugInfo() { U.warn(log, "Dumping debug info for node [id=" + ctx.localNodeId() + ", name=" + ctx.gridName() + http://git-wip-us.apache.org/repos/asf/ignite/blob/70a8a92d/modules/core/src/main/java/org/apache/ignite/mxbean/IgniteMXBean.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/mxbean/IgniteMXBean.java b/modules/core/src/main/java/org/apache/ignite/mxbean/IgniteMXBean.java index 4755bf2..c30e0e5 100644 --- a/modules/core/src/main/java/org/apache/ignite/mxbean/IgniteMXBean.java +++ b/modules/core/src/main/java/org/apache/ignite/mxbean/IgniteMXBean.java @@ -366,4 +366,10 @@ public interface IgniteMXBean { */ @MXBeanDescription("Prints last suppressed errors.") public void printLastErrors(); -} \ No newline at end of file + + /** + * Dumps debug information for the current node. + */ + @MXBeanDescription("Dumps debug information for the current node.") + public void dumpDebugInfo(); +}