| Package | Description |
|---|---|
| io.ray.api.id | |
| io.ray.api.runtime | |
| io.ray.api.runtimecontext |
| Modifier and Type | Field and Description |
|---|---|
static UniqueId |
UniqueId.NIL |
| Modifier and Type | Method and Description |
|---|---|
static UniqueId |
UniqueId.fromByteBuffer(ByteBuffer bb)
Creates a UniqueId from a ByteBuffer.
|
static UniqueId |
UniqueId.fromBytes(byte[] bytes)
Creates a UniqueId from bytes
|
static UniqueId |
UniqueId.fromHexString(String hex)
Create a UniqueId from a hex string.
|
static UniqueId |
UniqueId.randomId()
Generate an UniqueId with random value.
|
| Modifier and Type | Method and Description |
|---|---|
UniqueId |
RayRuntime.getCurrentNodeId() |
| Modifier and Type | Field and Description |
|---|---|
UniqueId |
NodeInfo.nodeId |
| Modifier and Type | Method and Description |
|---|---|
UniqueId |
RuntimeContext.getCurrentNodeId()
Get the node id of this worker.
|
| Constructor and Description |
|---|
NodeInfo(UniqueId nodeId,
String nodeAddress,
String nodeHostname,
int nodeManagerPort,
String objectStoreSocketName,
String rayletSocketName,
boolean isAlive,
Map<String,Double> resources) |
Copyright © 2023. All rights reserved.