Many thanks! On Wed, Sep 5, 2018, 8:08 PM Ilya Kasnacheev <[email protected]> wrote:
> Hello! > > ignite.compute().broadcast() should do. > > Regards, > -- > Ilya Kasnacheev > > > ср, 5 сент. 2018 г. в 17:31, Lokesh Sharma <[email protected]>: > >> During some events I want to run a piece of code at all nodes of Ignite. >> Is it possible? I know, its possible to run a Runnable in exactly any one >> of the nodes using >> >> exec.submit(new IgniteRunnable() { >> @Override public void run() { >> System.out.println(">>> Printing '" + word + "' on this node from grid >> job."); >> } >> }); >> >> >> So, I was wondering if there's something like "exec.runAll" that would >> run the IgniteRunnable in all instances? >> >
