Sergey Chugunov created IGNITE-16677:
----------------------------------------

             Summary: [Compute Grid] Implement broadcast method of 
IgniteCompute interface
                 Key: IGNITE-16677
                 URL: https://issues.apache.org/jira/browse/IGNITE-16677
             Project: Ignite
          Issue Type: Task
          Components: compute
            Reporter: Sergey Chugunov
             Fix For: 3.0.0-alpha5


The following method should be implemented:

{code:java}
<R> Map<ClusterNode, CompletableFuture<R>> broadcast(Set<ClusterNode> nodes, 
Class<? extends ComputeJob<R>> cls, Object … args);
{code}

On the first phase implementation doesn't need to support failover.

Each future from returned map represents the result of execution on the 
corresponding node and is independent from other futures.

It is a deliberate choice to make this API simpler but harder to work with on 
the first phase.
More discussions are needed to make it more convenient for the user and reduce 
amount of boilerplate code needed.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to