io.ray.api.ActorCall Maven / Gradle / Ivy
// Generated by `RayCallGenerator.java`. DO NOT EDIT.
package io.ray.api;
import io.ray.api.call.ActorTaskCaller;
import io.ray.api.call.VoidActorTaskCaller;
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.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 remote actor calls.
**/
interface ActorCall {
default ActorTaskCaller task(RayFunc1 f) {
Object[] args = new Object[]{};
return new ActorTaskCaller<>((ActorHandle) this, f, args);
}
default VoidActorTaskCaller task(RayFuncVoid1 f) {
Object[] args = new Object[]{};
return new VoidActorTaskCaller((ActorHandle) this, f, args);
}
default ActorTaskCaller task(RayFunc2 f, T0 t0) {
Object[] args = new Object[]{t0};
return new ActorTaskCaller<>((ActorHandle) this, f, args);
}
default ActorTaskCaller task(RayFunc2 f, ObjectRef t0) {
Object[] args = new Object[]{t0};
return new ActorTaskCaller<>((ActorHandle) this, f, args);
}
default VoidActorTaskCaller task(RayFuncVoid2 f, T0 t0) {
Object[] args = new Object[]{t0};
return new VoidActorTaskCaller((ActorHandle) this, f, args);
}
default VoidActorTaskCaller task(RayFuncVoid2 f, ObjectRef t0) {
Object[] args = new Object[]{t0};
return new VoidActorTaskCaller((ActorHandle) this, f, args);
}
default ActorTaskCaller task(RayFunc3 f, T0 t0, T1 t1) {
Object[] args = new Object[]{t0, t1};
return new ActorTaskCaller<>((ActorHandle) this, f, args);
}
default ActorTaskCaller task(RayFunc3 f, T0 t0, ObjectRef t1) {
Object[] args = new Object[]{t0, t1};
return new ActorTaskCaller<>((ActorHandle) this, f, args);
}
default ActorTaskCaller task(RayFunc3 f, ObjectRef t0, T1 t1) {
Object[] args = new Object[]{t0, t1};
return new ActorTaskCaller<>((ActorHandle) this, f, args);
}
default ActorTaskCaller task(RayFunc3 f, ObjectRef t0, ObjectRef t1) {
Object[] args = new Object[]{t0, t1};
return new ActorTaskCaller<>((ActorHandle) this, f, args);
}
default VoidActorTaskCaller task(RayFuncVoid3 f, T0 t0, T1 t1) {
Object[] args = new Object[]{t0, t1};
return new VoidActorTaskCaller((ActorHandle) this, f, args);
}
default VoidActorTaskCaller task(RayFuncVoid3 f, T0 t0, ObjectRef t1) {
Object[] args = new Object[]{t0, t1};
return new VoidActorTaskCaller((ActorHandle) this, f, args);
}
default VoidActorTaskCaller task(RayFuncVoid3 f, ObjectRef t0, T1 t1) {
Object[] args = new Object[]{t0, t1};
return new VoidActorTaskCaller((ActorHandle) this, f, args);
}
default VoidActorTaskCaller task(RayFuncVoid3 f, ObjectRef t0, ObjectRef t1) {
Object[] args = new Object[]{t0, t1};
return new VoidActorTaskCaller((ActorHandle) this, f, args);
}
default ActorTaskCaller task(RayFunc4 f, T0 t0, T1 t1, T2 t2) {
Object[] args = new Object[]{t0, t1, t2};
return new ActorTaskCaller<>((ActorHandle) this, f, args);
}
default ActorTaskCaller task(RayFunc4 f, T0 t0, T1 t1, ObjectRef t2) {
Object[] args = new Object[]{t0, t1, t2};
return new ActorTaskCaller<>((ActorHandle) this, f, args);
}
default ActorTaskCaller task(RayFunc4 f, T0 t0, ObjectRef t1, T2 t2) {
Object[] args = new Object[]{t0, t1, t2};
return new ActorTaskCaller<>((ActorHandle) this, f, args);
}
default ActorTaskCaller task(RayFunc4 f, T0 t0, ObjectRef t1, ObjectRef t2) {
Object[] args = new Object[]{t0, t1, t2};
return new ActorTaskCaller<>((ActorHandle) this, f, args);
}
default ActorTaskCaller task(RayFunc4 f, ObjectRef t0, T1 t1, T2 t2) {
Object[] args = new Object[]{t0, t1, t2};
return new ActorTaskCaller<>((ActorHandle) this, f, args);
}
default ActorTaskCaller task(RayFunc4 f, ObjectRef t0, T1 t1, ObjectRef t2) {
Object[] args = new Object[]{t0, t1, t2};
return new ActorTaskCaller<>((ActorHandle) this, f, args);
}
default ActorTaskCaller task(RayFunc4 f, ObjectRef t0, ObjectRef t1, T2 t2) {
Object[] args = new Object[]{t0, t1, t2};
return new ActorTaskCaller<>((ActorHandle) this, f, args);
}
default ActorTaskCaller task(RayFunc4 f, ObjectRef t0, ObjectRef t1, ObjectRef t2) {
Object[] args = new Object[]{t0, t1, t2};
return new ActorTaskCaller<>((ActorHandle) this, f, args);
}
default VoidActorTaskCaller task(RayFuncVoid4 f, T0 t0, T1 t1, T2 t2) {
Object[] args = new Object[]{t0, t1, t2};
return new VoidActorTaskCaller((ActorHandle) this, f, args);
}
default VoidActorTaskCaller task(RayFuncVoid4 f, T0 t0, T1 t1, ObjectRef t2) {
Object[] args = new Object[]{t0, t1, t2};
return new VoidActorTaskCaller((ActorHandle) this, f, args);
}
default VoidActorTaskCaller task(RayFuncVoid4 f, T0 t0, ObjectRef t1, T2 t2) {
Object[] args = new Object[]{t0, t1, t2};
return new VoidActorTaskCaller((ActorHandle) this, f, args);
}
default VoidActorTaskCaller task(RayFuncVoid4 f, T0 t0, ObjectRef t1, ObjectRef t2) {
Object[] args = new Object[]{t0, t1, t2};
return new VoidActorTaskCaller((ActorHandle) this, f, args);
}
default VoidActorTaskCaller task(RayFuncVoid4 f, ObjectRef t0, T1 t1, T2 t2) {
Object[] args = new Object[]{t0, t1, t2};
return new VoidActorTaskCaller((ActorHandle) this, f, args);
}
default VoidActorTaskCaller task(RayFuncVoid4 f, ObjectRef t0, T1 t1, ObjectRef t2) {
Object[] args = new Object[]{t0, t1, t2};
return new VoidActorTaskCaller((ActorHandle) this, f, args);
}
default VoidActorTaskCaller task(RayFuncVoid4 f, ObjectRef t0, ObjectRef t1, T2 t2) {
Object[] args = new Object[]{t0, t1, t2};
return new VoidActorTaskCaller((ActorHandle) this, f, args);
}
default VoidActorTaskCaller task(RayFuncVoid4 f, ObjectRef t0, ObjectRef t1, ObjectRef t2) {
Object[] args = new Object[]{t0, t1, t2};
return new VoidActorTaskCaller((ActorHandle) this, f, args);
}
default ActorTaskCaller task(RayFunc5 f, T0 t0, T1 t1, T2 t2, T3 t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new ActorTaskCaller<>((ActorHandle) this, f, args);
}
default ActorTaskCaller task(RayFunc5 f, T0 t0, T1 t1, T2 t2, ObjectRef t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new ActorTaskCaller<>((ActorHandle) this, f, args);
}
default ActorTaskCaller task(RayFunc5 f, T0 t0, T1 t1, ObjectRef t2, T3 t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new ActorTaskCaller<>((ActorHandle) this, f, args);
}
default ActorTaskCaller task(RayFunc5 f, T0 t0, T1 t1, ObjectRef t2, ObjectRef t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new ActorTaskCaller<>((ActorHandle) this, f, args);
}
default ActorTaskCaller task(RayFunc5 f, T0 t0, ObjectRef t1, T2 t2, T3 t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new ActorTaskCaller<>((ActorHandle) this, f, args);
}
default ActorTaskCaller task(RayFunc5 f, T0 t0, ObjectRef t1, T2 t2, ObjectRef t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new ActorTaskCaller<>((ActorHandle) this, f, args);
}
default ActorTaskCaller task(RayFunc5 f, T0 t0, ObjectRef t1, ObjectRef t2, T3 t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new ActorTaskCaller<>((ActorHandle) this, f, args);
}
default ActorTaskCaller task(RayFunc5 f, T0 t0, ObjectRef t1, ObjectRef t2, ObjectRef t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new ActorTaskCaller<>((ActorHandle) this, f, args);
}
default ActorTaskCaller task(RayFunc5 f, ObjectRef t0, T1 t1, T2 t2, T3 t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new ActorTaskCaller<>((ActorHandle) this, f, args);
}
default ActorTaskCaller task(RayFunc5 f, ObjectRef t0, T1 t1, T2 t2, ObjectRef t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new ActorTaskCaller<>((ActorHandle) this, f, args);
}
default ActorTaskCaller task(RayFunc5 f, ObjectRef t0, T1 t1, ObjectRef t2, T3 t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new ActorTaskCaller<>((ActorHandle) this, f, args);
}
default ActorTaskCaller task(RayFunc5 f, ObjectRef t0, T1 t1, ObjectRef t2, ObjectRef t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new ActorTaskCaller<>((ActorHandle) this, f, args);
}
default ActorTaskCaller task(RayFunc5 f, ObjectRef t0, ObjectRef t1, T2 t2, T3 t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new ActorTaskCaller<>((ActorHandle) this, f, args);
}
default ActorTaskCaller task(RayFunc5 f, ObjectRef t0, ObjectRef t1, T2 t2, ObjectRef t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new ActorTaskCaller<>((ActorHandle) this, f, args);
}
default ActorTaskCaller task(RayFunc5 f, ObjectRef t0, ObjectRef t1, ObjectRef t2, T3 t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new ActorTaskCaller<>((ActorHandle) this, f, args);
}
default ActorTaskCaller task(RayFunc5 f, ObjectRef t0, ObjectRef t1, ObjectRef t2, ObjectRef t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new ActorTaskCaller<>((ActorHandle) this, f, args);
}
default VoidActorTaskCaller task(RayFuncVoid5 f, T0 t0, T1 t1, T2 t2, T3 t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new VoidActorTaskCaller((ActorHandle) this, f, args);
}
default VoidActorTaskCaller task(RayFuncVoid5 f, T0 t0, T1 t1, T2 t2, ObjectRef t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new VoidActorTaskCaller((ActorHandle) this, f, args);
}
default VoidActorTaskCaller task(RayFuncVoid5 f, T0 t0, T1 t1, ObjectRef t2, T3 t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new VoidActorTaskCaller((ActorHandle) this, f, args);
}
default VoidActorTaskCaller task(RayFuncVoid5 f, T0 t0, T1 t1, ObjectRef t2, ObjectRef t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new VoidActorTaskCaller((ActorHandle) this, f, args);
}
default VoidActorTaskCaller task(RayFuncVoid5 f, T0 t0, ObjectRef t1, T2 t2, T3 t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new VoidActorTaskCaller((ActorHandle) this, f, args);
}
default VoidActorTaskCaller task(RayFuncVoid5 f, T0 t0, ObjectRef t1, T2 t2, ObjectRef t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new VoidActorTaskCaller((ActorHandle) this, f, args);
}
default VoidActorTaskCaller task(RayFuncVoid5 f, T0 t0, ObjectRef t1, ObjectRef t2, T3 t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new VoidActorTaskCaller((ActorHandle) this, f, args);
}
default VoidActorTaskCaller task(RayFuncVoid5 f, T0 t0, ObjectRef t1, ObjectRef t2, ObjectRef t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new VoidActorTaskCaller((ActorHandle) this, f, args);
}
default VoidActorTaskCaller task(RayFuncVoid5 f, ObjectRef t0, T1 t1, T2 t2, T3 t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new VoidActorTaskCaller((ActorHandle) this, f, args);
}
default VoidActorTaskCaller task(RayFuncVoid5 f, ObjectRef t0, T1 t1, T2 t2, ObjectRef t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new VoidActorTaskCaller((ActorHandle) this, f, args);
}
default VoidActorTaskCaller task(RayFuncVoid5 f, ObjectRef t0, T1 t1, ObjectRef t2, T3 t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new VoidActorTaskCaller((ActorHandle) this, f, args);
}
default VoidActorTaskCaller task(RayFuncVoid5 f, ObjectRef t0, T1 t1, ObjectRef t2, ObjectRef t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new VoidActorTaskCaller((ActorHandle) this, f, args);
}
default VoidActorTaskCaller task(RayFuncVoid5 f, ObjectRef t0, ObjectRef t1, T2 t2, T3 t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new VoidActorTaskCaller((ActorHandle) this, f, args);
}
default VoidActorTaskCaller task(RayFuncVoid5 f, ObjectRef t0, ObjectRef t1, T2 t2, ObjectRef t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new VoidActorTaskCaller((ActorHandle) this, f, args);
}
default VoidActorTaskCaller task(RayFuncVoid5 f, ObjectRef t0, ObjectRef t1, ObjectRef t2, T3 t3) {
Object[] args = new Object[]{t0, t1, t2, t3};
return new VoidActorTaskCaller((ActorHandle) this, f, args);
}
default VoidActorTaskCaller task(RayFuncVoid5 f, ObjectRef t0, ObjectRef t1, ObjectRef t2, ObjectRef