IGNITE-3727 send(..) javadoc update
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/e3855a35 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/e3855a35 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/e3855a35 Branch: refs/heads/ignite-3727-2 Commit: e3855a35b71a7f6e5bd96ab3b4572d11d049d6f7 Parents: 14e1a6b Author: DmitriyGovorukhin <[email protected]> Authored: Fri Sep 9 11:11:00 2016 +0300 Committer: DmitriyGovorukhin <[email protected]> Committed: Fri Sep 9 11:11:00 2016 +0300 ---------------------------------------------------------------------- .../core/src/main/java/org/apache/ignite/IgniteMessaging.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/e3855a35/modules/core/src/main/java/org/apache/ignite/IgniteMessaging.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/IgniteMessaging.java b/modules/core/src/main/java/org/apache/ignite/IgniteMessaging.java index 23b29f3..00a4fc8 100644 --- a/modules/core/src/main/java/org/apache/ignite/IgniteMessaging.java +++ b/modules/core/src/main/java/org/apache/ignite/IgniteMessaging.java @@ -77,7 +77,8 @@ public interface IgniteMessaging extends IgniteAsyncSupport { /** * Sends given message with specified topic to the nodes in the underlying cluster group. - * When you invoke method, all listeners who were registered on topic in the local node, will be executing in the same thread. + * When you invoke method, all listeners who were registered on topic in the local node, will executing in the same thread + * by default, or if you use {@link #withAsync()}, listeners will execute through thread pool, and current thread will not be block. * * @param topic Topic to send to, {@code null} for default topic. * @param msg Message to send. @@ -88,7 +89,8 @@ public interface IgniteMessaging extends IgniteAsyncSupport { /** * Sends given messages with the specified topic to the nodes in the underlying cluster group. - * When you invoke method, all listeners who were registered on topic in the local node, will be executing in the same thread. + * When you invoke method, all listeners who were registered on topic in the local node, will executing in the same thread + * by default, or if you use {@link #withAsync()}, listeners will execute through thread pool, and current thread will not be block. * * @param topic Topic to send to, {@code null} for default topic. * @param msgs Messages to send. Order of the sending is undefined. If the method produces
