| Package | Description |
|---|---|
| io.ray.api | |
| io.ray.api.id | |
| io.ray.api.runtime | |
| io.ray.api.runtimecontext |
| Modifier and Type | Field and Description |
|---|---|
UniqueId |
Checkpointable.Checkpoint.checkpointId
Checkpoint's ID.
|
| Modifier and Type | Method and Description |
|---|---|
UniqueId |
Checkpointable.loadCheckpoint(ActorId actorId,
List<Checkpointable.Checkpoint> availableCheckpoints)
Load actor's previous checkpoint, and restore actor's state.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Checkpointable.checkpointExpired(ActorId actorId,
UniqueId checkpointId)
Delete an expired checkpoint;
This method will be called when an checkpoint is expired.
|
void |
Checkpointable.saveCheckpoint(ActorId actorId,
UniqueId checkpointId)
Save a checkpoint to persistent storage.
|
static void |
Ray.setResource(UniqueId nodeId,
String resourceName,
double capacity)
Update the resource for the specified client.
|
| Constructor and Description |
|---|
Checkpoint(UniqueId checkpointId,
long timestamp) |
| 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 © 2020. All rights reserved.