Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
io.ray.api.RayCall Maven / Gradle / Ivy
// Generated by `RayCallGenerator.java`. DO NOT EDIT.
package io.ray.api;
import io.ray.api.call.ActorCreator;
import io.ray.api.call.PyActorCreator;
import io.ray.api.call.PyTaskCaller;
import io.ray.api.call.TaskCaller;
import io.ray.api.call.VoidTaskCaller;
import io.ray.api.function.PyActorClass;
import io.ray.api.function.PyFunction;
import io.ray.api.function.RayFunc0;
import io.ray.api.function.RayFunc1;
import io.ray.api.function.RayFunc2;
import io.ray.api.function.RayFunc3;
import io.ray.api.function.RayFunc4;
import io.ray.api.function.RayFunc5;
import io.ray.api.function.RayFunc6;
import io.ray.api.function.RayFuncVoid0;
import io.ray.api.function.RayFuncVoid1;
import io.ray.api.function.RayFuncVoid2;
import io.ray.api.function.RayFuncVoid3;
import io.ray.api.function.RayFuncVoid4;
import io.ray.api.function.RayFuncVoid5;
import io.ray.api.function.RayFuncVoid6;
/**
* This class provides type-safe interfaces for `Ray.call` and `Ray.createActor`.
**/
class RayCall {
// =======================================
// Methods for remote function invocation.
// =======================================
public static TaskCaller task(RayFunc0 f) {
Object[] args = new Object[]{};
return new TaskCaller<>(f, args);
}
public static VoidTaskCaller task(RayFuncVoid0 f) {
Object[] args = new Object[]{};
return new VoidTaskCaller(f, args);
}
public static TaskCaller task(RayFunc1 f, T0 t0) {
Object[] args = new Object[]{t0};
return new TaskCaller<>(f, args);
}
public static TaskCaller task(RayFunc1 f, ObjectRef t0) {
Object[] args = new Object[]{t0};
return new TaskCaller<>(f, args);
}
public static VoidTaskCaller task(RayFuncVoid1 f, T0 t0) {
Object[] args = new Object[]{t0};
return new VoidTaskCaller(f, args);
}
public static VoidTaskCaller task(RayFuncVoid1 f, ObjectRef t0) {
Object[] args = new Object[]{t0};
return new VoidTaskCaller(f, args);
}
public static TaskCaller task(RayFunc2 f, T0 t0, T1 t1) {
Object[] args = new Object[]{t0, t1};
return new TaskCaller<>(f, args);
}
public static TaskCaller task(RayFunc2 f, T0 t0, ObjectRef t1) {
Object[] args = new Object[]{t0, t1};
return new TaskCaller<>(f, args);
}
public static TaskCaller task(RayFunc2 f, ObjectRef t0, T1 t1) {
Object[] args = new Object[]{t0, t1};
return new TaskCaller<>(f, args);
}
public static TaskCaller task(RayFunc2 f, ObjectRef t0, ObjectRef t1) {
Object[] args = new Object[]{t0, t1};
return new TaskCaller<>(f, args);
}
public static VoidTaskCaller task(RayFuncVoid2 f, T0 t0, T1 t1) {
Object[] args = new Object[]{t0, t1};
return new VoidTaskCaller(f, args);
}
public static VoidTaskCaller task(RayFuncVoid2 f, T0 t0, ObjectRef t1) {
Object[] args = new Object[]{t0, t1};
return new VoidTaskCaller(f, args);
}
public static VoidTaskCaller task(RayFuncVoid2 f, ObjectRef t0, T1 t1) {
Object[] args = new Object[]{t0, t1};
return new VoidTaskCaller(f, args);
}
public static VoidTaskCaller task(RayFuncVoid2 f, ObjectRef t0, ObjectRef t1) {
Object[] args = new Object[]{t0, t1};
return new VoidTaskCaller(f, args);
}
public static TaskCaller task(RayFunc3 f, T0 t0, T1 t1, T2 t2) {
Object[] args = new Object[]{t0, t1, t2};
return new TaskCaller<>(f, args);
}
public static TaskCaller task(RayFunc3 f, T0 t0, T1 t1, ObjectRef t2) {
Object[] args = new Object[]{t0, t1, t2};
return new TaskCaller<>(f, args);
}
public static TaskCaller task(RayFunc3 f, T0 t0, ObjectRef t1, T2 t2) {
Object[] args = new Object[]{t0, t1, t2};
return new TaskCaller<>(f, args);
}
public static TaskCaller task(RayFunc3 f, T0 t0, ObjectRef t1, ObjectRef t2) {
Object[] args = new Object[]{t0, t1, t2};
return new TaskCaller<>(f, args);
}
public static TaskCaller task(RayFunc3 f, ObjectRef t0, T1 t1, T2 t2) {
Object[] args = new Object[]{t0, t1, t2};
return new TaskCaller<>(f, args);
}
public static TaskCaller task(RayFunc3 f, ObjectRef t0, T1 t1, ObjectRef t2) {
Object[] args = new Object[]{t0, t1, t2};
return new TaskCaller<>(f, args);
}
public static TaskCaller task(RayFunc3 f, ObjectRef t0, ObjectRef t1, T2 t2) {
Object[] args = new Object[]{t0, t1, t2};
return new TaskCaller<>(f, args);
}
public static TaskCaller task(RayFunc3 f, ObjectRef t0, ObjectRef t1, ObjectRef t2) {
Object[] args = new Object[]{t0, t1, t2};
return new TaskCaller<>(f, args);
}
public static VoidTaskCaller task(RayFuncVoid3 f, T0 t0, T1 t1, T2 t2) {
Object[] args = new Object[]{t0, t1, t2};
return new VoidTaskCaller(f, args);
}
public static VoidTaskCaller task(RayFuncVoid3 f, T0 t0, T1 t1, ObjectRef t2) {
Object[] args = new Object[]{t0, t1, t2};
return new VoidTaskCaller(f, args);
}
public static VoidTaskCaller task(RayFuncVoid3 f, T0 t0, ObjectRef t1, T2 t2) {
Object[] args = new Object[]{t0, t1, t2};
return new VoidTaskCaller(f, args);
}
public static VoidTaskCaller task(RayFuncVoid3 f, T0 t0, ObjectRef t1, ObjectRef t2) {
Object[] args = new Object[]{t0, t1, t2};
return new VoidTaskCaller(f, args);
}
public static VoidTaskCaller task(RayFuncVoid3 f, ObjectRef t0, T1 t1, T2 t2) {
Object[] args = new Object[]{t0, t1, t2};
return new VoidTaskCaller(f, args);
}
public static VoidTaskCaller task(RayFuncVoid3 f, ObjectRef t0, T1 t1, ObjectRef t2) {
Object[] args = new Object[]{t0, t1, t2};
return new VoidTaskCaller(f, args);
}
public static VoidTaskCaller task(RayFuncVoid3 f, ObjectRef t0, ObjectRef t1, T2 t2) {
Object[] args = new Object[]{t0, t1, t2};
return new VoidTaskCaller(f, args);
}
public static VoidTaskCaller task(RayFuncVoid3 f, ObjectRef t0, ObjectRef t1, ObjectRef t2) {
Object[] args = new Object[]{t0, t1, t2};
return new VoidTaskCaller(f, args);
}
public static TaskCaller task(RayFunc4 f, T0 t0, T1 t1, T2 t2, T3 t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new TaskCaller<>(f, args);
}
public static TaskCaller task(RayFunc4 f, T0 t0, T1 t1, T2 t2, ObjectRef t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new TaskCaller<>(f, args);
}
public static TaskCaller task(RayFunc4 f, T0 t0, T1 t1, ObjectRef t2, T3 t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new TaskCaller<>(f, args);
}
public static TaskCaller task(RayFunc4 f, T0 t0, T1 t1, ObjectRef t2, ObjectRef t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new TaskCaller<>(f, args);
}
public static TaskCaller task(RayFunc4 f, T0 t0, ObjectRef t1, T2 t2, T3 t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new TaskCaller<>(f, args);
}
public static TaskCaller task(RayFunc4 f, T0 t0, ObjectRef t1, T2 t2, ObjectRef t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new TaskCaller<>(f, args);
}
public static TaskCaller task(RayFunc4 f, T0 t0, ObjectRef t1, ObjectRef t2, T3 t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new TaskCaller<>(f, args);
}
public static TaskCaller task(RayFunc4 f, T0 t0, ObjectRef t1, ObjectRef t2, ObjectRef t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new TaskCaller<>(f, args);
}
public static TaskCaller task(RayFunc4 f, ObjectRef t0, T1 t1, T2 t2, T3 t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new TaskCaller<>(f, args);
}
public static TaskCaller task(RayFunc4 f, ObjectRef t0, T1 t1, T2 t2, ObjectRef t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new TaskCaller<>(f, args);
}
public static TaskCaller task(RayFunc4 f, ObjectRef t0, T1 t1, ObjectRef t2, T3 t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new TaskCaller<>(f, args);
}
public static TaskCaller task(RayFunc4 f, ObjectRef t0, T1 t1, ObjectRef t2, ObjectRef t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new TaskCaller<>(f, args);
}
public static TaskCaller task(RayFunc4 f, ObjectRef t0, ObjectRef t1, T2 t2, T3 t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new TaskCaller<>(f, args);
}
public static TaskCaller task(RayFunc4 f, ObjectRef t0, ObjectRef t1, T2 t2, ObjectRef t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new TaskCaller<>(f, args);
}
public static TaskCaller task(RayFunc4 f, ObjectRef t0, ObjectRef t1, ObjectRef t2, T3 t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new TaskCaller<>(f, args);
}
public static TaskCaller task(RayFunc4 f, ObjectRef t0, ObjectRef t1, ObjectRef t2, ObjectRef t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new TaskCaller<>(f, args);
}
public static VoidTaskCaller task(RayFuncVoid4 f, T0 t0, T1 t1, T2 t2, T3 t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new VoidTaskCaller(f, args);
}
public static VoidTaskCaller task(RayFuncVoid4 f, T0 t0, T1 t1, T2 t2, ObjectRef t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new VoidTaskCaller(f, args);
}
public static VoidTaskCaller task(RayFuncVoid4 f, T0 t0, T1 t1, ObjectRef t2, T3 t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new VoidTaskCaller(f, args);
}
public static VoidTaskCaller task(RayFuncVoid4 f, T0 t0, T1 t1, ObjectRef t2, ObjectRef t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new VoidTaskCaller(f, args);
}
public static VoidTaskCaller task(RayFuncVoid4 f, T0 t0, ObjectRef t1, T2 t2, T3 t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new VoidTaskCaller(f, args);
}
public static VoidTaskCaller task(RayFuncVoid4 f, T0 t0, ObjectRef t1, T2 t2, ObjectRef t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new VoidTaskCaller(f, args);
}
public static VoidTaskCaller task(RayFuncVoid4 f, T0 t0, ObjectRef t1, ObjectRef t2, T3 t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new VoidTaskCaller(f, args);
}
public static VoidTaskCaller task(RayFuncVoid4 f, T0 t0, ObjectRef t1, ObjectRef t2, ObjectRef t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new VoidTaskCaller(f, args);
}
public static VoidTaskCaller task(RayFuncVoid4 f, ObjectRef t0, T1 t1, T2 t2, T3 t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new VoidTaskCaller(f, args);
}
public static VoidTaskCaller task(RayFuncVoid4 f, ObjectRef t0, T1 t1, T2 t2, ObjectRef t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new VoidTaskCaller(f, args);
}
public static VoidTaskCaller task(RayFuncVoid4 f, ObjectRef t0, T1 t1, ObjectRef t2, T3 t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new VoidTaskCaller(f, args);
}
public static VoidTaskCaller task(RayFuncVoid4 f, ObjectRef t0, T1 t1, ObjectRef t2, ObjectRef t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new VoidTaskCaller(f, args);
}
public static VoidTaskCaller task(RayFuncVoid4 f, ObjectRef t0, ObjectRef t1, T2 t2, T3 t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new VoidTaskCaller(f, args);
}
public static VoidTaskCaller task(RayFuncVoid4 f, ObjectRef t0, ObjectRef t1, T2 t2, ObjectRef t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new VoidTaskCaller(f, args);
}
public static VoidTaskCaller task(RayFuncVoid4 f, ObjectRef t0, ObjectRef t1, ObjectRef t2, T3 t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new VoidTaskCaller(f, args);
}
public static VoidTaskCaller task(RayFuncVoid4 f, ObjectRef t0, ObjectRef t1, ObjectRef t2, ObjectRef t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new VoidTaskCaller(f, args);
}
public static