All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.ray.api.WaitResult Maven / Gradle / Ivy

There is a newer version: 2.36.0
Show newest version
package io.ray.api;

import java.util.List;

/**
 * Represents the result of a Ray.wait call. It contains 2 lists, one containing the locally
 * available objects, one containing the rest.
 */
public final class WaitResult {

  private final List> ready;
  private final List> unready;

  public WaitResult(List> ready, List> unready) {
    this.ready = ready;
    this.unready = unready;
  }

  /** Get the list of ready objects. */
  public List> getReady() {
    return ready;
  }

  /** Get the list of unready objects. */
  public List> getUnready() {
    return unready;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy