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

io.ray.api.runtimecontext.ResourceValue Maven / Gradle / Ivy

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

/** A class that contains resource id and capacity of this resource. */
public class ResourceValue {

  public final Long resourceId;

  public final Double capacity;

  ResourceValue(long resourceId, double capacity) {
    this.resourceId = resourceId;
    this.capacity = capacity;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy