| Package | Description |
|---|---|
| io.ray.api | |
| io.ray.api.id | |
| io.ray.api.runtime | |
| io.ray.api.runtimecontext |
| Modifier and Type | Method and Description |
|---|---|
static void |
Ray.setResource(UniqueId nodeId,
String resourceName,
double capacity)
Deprecated.
Consider using placement groups instead
(docs.ray.io/en/master/placement-group.html). You can also specify resources at Ray start
time with the 'resources' field in the cluster autoscaler.
|
| 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.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 |
|---|---|
void |
RayRuntime.setResource(String resourceName,
double capacity,
UniqueId nodeId)
Set the resource for the specific node.
|
| Modifier and Type | Field and Description |
|---|---|
UniqueId |
NodeInfo.nodeId |
| Constructor and Description |
|---|
NodeInfo(UniqueId nodeId,
String nodeAddress,
String nodeHostname,
int nodeManagerPort,
String objectStoreSocketName,
String rayletSocketName,
boolean isAlive,
Map<String,Double> resources) |
Copyright © 2021. All rights reserved.