io.ray.api.function.CppActorMethod Maven / Gradle / Ivy
package io.ray.api.function;
public class CppActorMethod {
// The name of this actor method
public final String methodName;
// Type of the return value of this actor method
public final Class returnType;
private CppActorMethod(String methodName, Class returnType) {
this.methodName = methodName;
this.returnType = returnType;
}
/**
* Create a cppthon actor method.
*
* @param methodName The name of this actor method
* @return a cppthon actor method.
*/
public static CppActorMethod