Search code examples
javagridgain

Delegate callable to specific GridGain node


I have a question regarding GridGain. How can I delegate a callable to a specific GridGain node? From what I can see in GridGain's API, you do not have control over selecting a specific node. Can anyone help me with this?

something like:

clientNode.node(uuid).call(callable);

the problem is that if you get a node from the

Thank you in advance!


Solution

  • Here is how this can be done in GridGain:

    GridCompute nodeCompute = grid.forNodeId(uuid).compute();
    
    compute.call(callable);