| 程序包 | 说明 |
|---|---|
| io.ray.api | |
| io.ray.api.runtime | |
| io.ray.api.runtimecontext |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
ActorHandle<A>
A handle to a Java actor.
|
interface |
PyActorHandle
Handle of a Python actor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static <T extends BaseActorHandle> |
Ray.getActor(String name)
Get a handle to a named actor of current job.
|
static <T extends BaseActorHandle> |
Ray.getGlobalActor(String name)
Get a handle to a global named actor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> ObjectRef<T> |
Ray.put(T obj,
BaseActorHandle owner)
Store an object in the object store and assign its ownership to owner.
|
| 限定符和类型 | 方法和说明 |
|---|---|
<T extends BaseActorHandle> |
RayRuntime.getActor(String name,
boolean global)
Get a handle to a named actor.
|
<T extends BaseActorHandle> |
RayRuntime.getActorHandle(ActorId actorId) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
RayRuntime.killActor(BaseActorHandle actor,
boolean noRestart)
Kill the actor immediately.
|
<T> ObjectRef<T> |
RayRuntime.put(T obj,
BaseActorHandle owner)
Store an object in the object store, and assign its ownership to owner.
|
| 限定符和类型 | 方法和说明 |
|---|---|
<T extends BaseActorHandle> |
RuntimeContext.getCurrentActorHandle()
Get the handle to the current actor itself.
|
Copyright © 2021. All rights reserved.