| 程序包 | 说明 |
|---|---|
| io.ray.api.call | |
| io.ray.api.runtime |
| 限定符和类型 | 方法和说明 |
|---|---|
ActorHandle<A> |
ActorCreator.remote()
Create a java actor remotely and return a handle to the created actor.
|
| 构造器和说明 |
|---|
ActorTaskCaller(ActorHandle actor,
RayFuncR<R> func,
Object[] args) |
VoidActorTaskCaller(ActorHandle actor,
RayFuncVoid func,
Object[] args) |
| 限定符和类型 | 方法和说明 |
|---|---|
<T> ActorHandle<T> |
RayRuntime.createActor(RayFunc actorFactoryFunc,
Object[] args,
ActorCreationOptions options)
Create an actor on a remote node.
|
| 限定符和类型 | 方法和说明 |
|---|---|
ObjectRef |
RayRuntime.callActor(ActorHandle<?> actor,
RayFunc func,
Object[] args,
CallOptions options)
Invoke a remote function on an actor.
|
Copyright © 2022. All rights reserved.