Sergey Chugunov created IGNITE-16616:
----------------------------------------
Summary: [Compute Grid] Implement execute method of IgniteCompute
interface
Key: IGNITE-16616
URL: https://issues.apache.org/jira/browse/IGNITE-16616
Project: Ignite
Issue Type: Task
Components: compute
Reporter: Sergey Chugunov
Fix For: 3.0.0-alpha5
The following method should be implemented:
{code}
<R> CompletableFuture<R> execute(Set<ClusterNode> nodes, Class<? Extends
ComputeJob<R>> cls, Object … args);
{code}
On the first phase implementation doesn't need to support failover or load
balancing.
Execution should be implemented using this simple algorithm:
* Randomly choose a target node from the given set of nodes if applicable.
* Transfer a job class name and arguments to the target node.
* Instantiate job’s instance on the target node. Deserialize arguments.
* Execute job.
* Return the result or error to the node that initiated the job execution.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)