Search in sources :

Example 1 with RPC

use of water.RPC in project h2o-2 by h2oai.

the class GarbageCollect method serve.

@Override
public RequestBuilders.Response serve() {
    for (H2ONode node : H2O.CLOUD._memary) {
        GCTask t = new GCTask();
        new RPC<GCTask>(node, t).call().get();
    }
    return RequestBuilders.Response.doneEmpty();
}
Also used : RPC(water.RPC) H2ONode(water.H2ONode)

Aggregations

H2ONode (water.H2ONode)1 RPC (water.RPC)1