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

io.ray.api.function.CppActorClass Maven / Gradle / Ivy

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

public class CppActorClass {
  // The name of function creating the class.
  public final String createFunctionName;
  // The name of this actor class
  public final String className;

  private CppActorClass(String createFunctionName, String className) {
    this.createFunctionName = createFunctionName;
    this.className = className;
  }

  /**
   * Create a cpp actor class.
   *
   * @param createFunctionName The name of function creating the class
   * @param className The name of this actor class
   * @return a cpp actor class
   */
  public static CppActorClass of(String createFunctionName, String className) {
    return new CppActorClass(createFunctionName, className);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy