Pavel Tupitsyn created IGNITE-22539:
---------------------------------------

             Summary: .NET: Thin 3.0: Add JobTarget interface to Compute API
                 Key: IGNITE-22539
                 URL: https://issues.apache.org/jira/browse/IGNITE-22539
             Project: Ignite
          Issue Type: Improvement
          Components: compute
    Affects Versions: 3.0.0-beta1
            Reporter: Pavel Tupitsyn
            Assignee: Pavel Tupitsyn
             Fix For: 3.0.0-beta2


Currently, there are too many methods in Compute API. This comes from the need 
to pick target nodes in different ways:
* Any one node (don't care which one, just run my job)
* Specific node by name
* Specific node by key (colocated)
* All nodes (broadcast)
** Broadcast methods return a different result type

A cleaner approach would be to introduce *JobTarget* interface with 
corresponding factory methods:
* *node*
* *anyNode*
* *colocation*



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to