Repository: incubator-ignite Updated Branches: refs/heads/ignite-45 cc3c939d2 -> 94ea69250
# IGNITE-45 - Examples Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/94ea6925 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/94ea6925 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/94ea6925 Branch: refs/heads/ignite-45 Commit: 94ea692508b903e2ce05b6efc70d30c4011b03dd Parents: cc3c939 Author: Valentin Kulichenko <vkuliche...@gridgain.com> Authored: Sat Mar 21 21:55:47 2015 -0700 Committer: Valentin Kulichenko <vkuliche...@gridgain.com> Committed: Sat Mar 21 21:55:47 2015 -0700 ---------------------------------------------------------------------- .../examples/java8/computegrid/ComputeExecutorServiceExample.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/94ea6925/examples/src/main/java8/org/apache/ignite/examples/java8/computegrid/ComputeExecutorServiceExample.java ---------------------------------------------------------------------- diff --git a/examples/src/main/java8/org/apache/ignite/examples/java8/computegrid/ComputeExecutorServiceExample.java b/examples/src/main/java8/org/apache/ignite/examples/java8/computegrid/ComputeExecutorServiceExample.java index d62b9e7..00f0c05 100644 --- a/examples/src/main/java8/org/apache/ignite/examples/java8/computegrid/ComputeExecutorServiceExample.java +++ b/examples/src/main/java8/org/apache/ignite/examples/java8/computegrid/ComputeExecutorServiceExample.java @@ -19,6 +19,7 @@ package org.apache.ignite.examples.java8.computegrid; import org.apache.ignite.*; import org.apache.ignite.examples.*; +import org.apache.ignite.lang.*; import java.util.concurrent.*; @@ -50,7 +51,7 @@ public final class ComputeExecutorServiceExample { // Iterate through all words in the sentence and create callable jobs. for (String word : "Print words using runnable".split(" ")) { // Execute runnable on some node. - exec.submit(() -> { + exec.submit((IgniteRunnable)() -> { System.out.println(); System.out.println(">>> Printing '" + word + "' on this node from ignite job."); });