| Package | Description |
|---|---|
| io.ray.api | |
| io.ray.api.call | |
| io.ray.api.options | |
| io.ray.api.runtime |
| Modifier and Type | Method and Description |
|---|---|
static PlacementGroup |
PlacementGroups.createPlacementGroup(PlacementGroupCreationOptions creationOptions)
Create a placement group.
|
static PlacementGroup |
PlacementGroups.getPlacementGroup(PlacementGroupId id)
Get a placement group by placement group Id.
|
static PlacementGroup |
PlacementGroups.getPlacementGroup(String name)
Get a placement group by placement group name from the current namespace.
|
static PlacementGroup |
PlacementGroups.getPlacementGroup(String name,
String namespace)
Get a placement group by placement group name from the given namespace.
|
| Modifier and Type | Method and Description |
|---|---|
static List<PlacementGroup> |
PlacementGroups.getAllPlacementGroups()
Get all placement groups in this cluster.
|
| Modifier and Type | Method and Description |
|---|---|
T |
BaseActorCreator.setPlacementGroup(PlacementGroup group)
Set the placement group to place this actor in, which may use any available bundle.
|
T |
BaseTaskCaller.setPlacementGroup(PlacementGroup group)
Set the placement group to place this task in, which may use any available bundle.
|
T |
BaseActorCreator.setPlacementGroup(PlacementGroup group,
int bundleIndex)
Set the placement group to place this actor in.
|
T |
BaseTaskCaller.setPlacementGroup(PlacementGroup group,
int bundleIndex)
Set the placement group to place this task in.
|
| Modifier and Type | Field and Description |
|---|---|
PlacementGroup |
ActorCreationOptions.group |
PlacementGroup |
CallOptions.group |
| Modifier and Type | Method and Description |
|---|---|
ActorCreationOptions.Builder |
ActorCreationOptions.Builder.setPlacementGroup(PlacementGroup group,
int bundleIndex)
Set the placement group to place this actor in.
|
CallOptions.Builder |
CallOptions.Builder.setPlacementGroup(PlacementGroup group,
int bundleIndex)
Set the placement group to place this actor in.
|
| Modifier and Type | Method and Description |
|---|---|
PlacementGroup |
RayRuntime.createPlacementGroup(PlacementGroupCreationOptions creationOptions)
Create a placement group on remote nodes.
|
PlacementGroup |
RayRuntime.getPlacementGroup(PlacementGroupId id)
Get a placement group by id.
|
PlacementGroup |
RayRuntime.getPlacementGroup(String name,
String namespace)
Get a placement group by name.
|
| Modifier and Type | Method and Description |
|---|---|
List<PlacementGroup> |
RayRuntime.getAllPlacementGroups()
Get all placement groups in this cluster.
|
Copyright © 2024. All rights reserved.