November 2018
Beginner to intermediate
260 pages
6h 12m
English
The compute grid's run() API works with IgniteRunnable. The IgniteRunnable extends Java's Runnable interface; the run() method is executed in the remote cluster. We are going to create a runnable and examine the run behavior. The following are the steps:
class AdderRunnable implements IgniteRunnable { private static final long serialVersionUID = 1L; private final int first; private final int second; public AdderRunnable(int first, int second) { super(); this.first = first; this.second = second; } @Override ...Read now
Unlock full access