| Package | Description |
|---|---|
| io.ray.api.call | |
| io.ray.api.function | |
| io.ray.api.runtime |
| Constructor and Description |
|---|
PyActorTaskCaller(PyActorHandle actor,
PyActorMethod<R> method,
Object[] args) |
| Modifier and Type | Method and Description |
|---|---|
static PyActorMethod<Object> |
PyActorMethod.of(String methodName)
Create a python actor method.
|
static <R> PyActorMethod<R> |
PyActorMethod.of(String methodName,
Class<R> returnType)
Create a python actor method.
|
| Modifier and Type | Method and Description |
|---|---|
ObjectRef |
RayRuntime.callActor(PyActorHandle pyActor,
PyActorMethod pyActorMethod,
Object[] args)
Invoke a remote Python function on an actor.
|
Copyright © 2021. All rights reserved.