| 程序包 | 说明 |
|---|---|
| io.ray.api | |
| io.ray.api.id | |
| io.ray.api.runtime | |
| io.ray.api.runtimecontext |
| 限定符和类型 | 方法和说明 |
|---|---|
ActorId |
BaseActorHandle.getId()
Returns the id of this actor.
|
| 限定符和类型 | 字段和说明 |
|---|---|
static ActorId |
ActorId.NIL |
| 限定符和类型 | 方法和说明 |
|---|---|
static ActorId |
ActorId.fromByteBuffer(ByteBuffer bb) |
static ActorId |
ActorId.fromBytes(byte[] bytes) |
static ActorId |
ActorId.fromRandom()
Generate an ActorId with random value.
|
| 限定符和类型 | 方法和说明 |
|---|---|
<T extends BaseActorHandle> |
RayRuntime.getActorHandle(ActorId actorId) |
| 限定符和类型 | 方法和说明 |
|---|---|
ActorId |
RuntimeContext.getCurrentActorId()
Get the current actor ID.
|
Copyright © 2022. All rights reserved.