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();
}