All Downloads are FREE. Search and download functionalities are using the official Maven repository.
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.PyActorCall Maven / Gradle / Ivy
// Generated by `RayCallGenerator.java`. DO NOT EDIT.
package io.ray.api;
import io.ray.api.call.PyActorTaskCaller;
import io.ray.api.function.PyActorMethod;
/**
* This class provides type-safe interfaces for remote actor calls.
**/
interface PyActorCall {
default PyActorTaskCaller task(PyActorMethod pyActorMethod) {
Object[] args = new Object[]{};
return new PyActorTaskCaller<>((PyActorHandle)this, pyActorMethod, args);
}
default PyActorTaskCaller task(PyActorMethod pyActorMethod, Object obj0) {
Object[] args = new Object[]{obj0};
return new PyActorTaskCaller<>((PyActorHandle)this, pyActorMethod, args);
}
default PyActorTaskCaller task(PyActorMethod pyActorMethod, Object obj0, Object obj1) {
Object[] args = new Object[]{obj0, obj1};
return new PyActorTaskCaller<>((PyActorHandle)this, pyActorMethod, args);
}
default PyActorTaskCaller task(PyActorMethod pyActorMethod, Object obj0, Object obj1, Object obj2) {
Object[] args = new Object[]{obj0, obj1, obj2};
return new PyActorTaskCaller<>((PyActorHandle)this, pyActorMethod, args);
}
default PyActorTaskCaller task(PyActorMethod pyActorMethod, Object obj0, Object obj1, Object obj2, Object obj3) {
Object[] args = new Object[]{obj0, obj1, obj2, obj3};
return new PyActorTaskCaller<>((PyActorHandle)this, pyActorMethod, args);
}
default PyActorTaskCaller task(PyActorMethod pyActorMethod, Object obj0, Object obj1, Object obj2, Object obj3, Object obj4) {
Object[] args = new Object[]{obj0, obj1, obj2, obj3, obj4};
return new PyActorTaskCaller<>((PyActorHandle)this, pyActorMethod, args);
}
}