Author: dsetrakyan
Date: Wed Oct 14 22:14:39 2015
New Revision: 1708706
URL: http://svn.apache.org/viewvc?rev=1708706&view=rev
Log:
Fixed some typos.
Modified:
ignite/site/trunk/features/computegrid.html
ignite/site/trunk/features/messaging.html
Modified: ignite/site/trunk/features/computegrid.html
URL:
http://svn.apache.org/viewvc/ignite/site/trunk/features/computegrid.html?rev=1708706&r1=1708705&r2=1708706&view=diff
==============================================================================
--- ignite/site/trunk/features/computegrid.html (original)
+++ ignite/site/trunk/features/computegrid.html Wed Oct 14 22:14:39 2015
@@ -98,7 +98,7 @@ under the License.
Ignite ignite = Ignition.ignite();
// Print out hello message on all cluster
nodes.
- ignite.compute().broadcast(() -> "Hello
Node!");
+ ignite.compute().broadcast(() ->
System.out.println("Hello Node!"));
</pre>
</div>
<div class="tab-pane" id="compute-example-countchars">
Modified: ignite/site/trunk/features/messaging.html
URL:
http://svn.apache.org/viewvc/ignite/site/trunk/features/messaging.html?rev=1708706&r1=1708705&r2=1708706&view=diff
==============================================================================
--- ignite/site/trunk/features/messaging.html (original)
+++ ignite/site/trunk/features/messaging.html Wed Oct 14 22:14:39 2015
@@ -74,7 +74,7 @@ under the License.
IgniteMessaging rmtMsg =
ignite.message(ignite.cluster().forRemotes());
- // Add listener for unordered messages on all
remote nodes.
+ // Add listener for ordered messages on all remote
nodes.
rmtMsg.remoteListen("MyOrderedTopic", (nodeId,
msg) -> {
System.out.println("Received ordered message
[msg=" + msg + ", from=" + nodeId + ']');
@@ -83,7 +83,7 @@ under the License.
// Send ordered messages to remote nodes.
for (int i = 0; i < 10; i++)
- rmtMsg.sendOrdered("MyOrderedTopic",
Integer.toString(i));
+ rmtMsg.sendOrdered("MyOrderedTopic",
Integer.toString(i), 0);
</pre>
</div>
<div class="tab-pane" id="messaging-example-unordered">