| 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 |
Ray.createPlacementGroup(List<Map<String,Double>> bundles,
PlacementStrategy strategy)
Deprecated.
This method is no longer recommended to create a new placement group, use
PlacementGroups.createPlacementGroup(PlacementGroupCreationOptions) instead. |
static PlacementGroup |
Ray.createPlacementGroup(PlacementGroupCreationOptions creationOptions)
Deprecated.
This method is no longer recommended to create a new placement group, use
PlacementGroups.createPlacementGroup(PlacementGroupCreationOptions) instead. |
static PlacementGroup |
PlacementGroups.createPlacementGroup(PlacementGroupCreationOptions creationOptions)
Create a placement group.
|
static PlacementGroup |
Ray.createPlacementGroup(String name,
List<Map<String,Double>> bundles,
PlacementStrategy strategy)
Deprecated.
This method is no longer recommended to create a new placement group, use
PlacementGroups.createPlacementGroup(PlacementGroupCreationOptions) instead. |
static PlacementGroup |
Ray.getGlobalPlacementGroup(String name)
Deprecated.
This method is no longer recommended to create a new placement group, use
PlacementGroups.getGlobalPlacementGroup(String) instead. |
static PlacementGroup |
PlacementGroups.getGlobalPlacementGroup(String name)
Get a placement group by placement group name from all jobs.
|
static PlacementGroup |
Ray.getPlacementGroup(PlacementGroupId id)
Deprecated.
This method is no longer recommended, use
PlacementGroups.getPlacementGroup(PlacementGroupId) instead. |
static PlacementGroup |
PlacementGroups.getPlacementGroup(PlacementGroupId id)
Get a placement group by placement group Id.
|
static PlacementGroup |
Ray.getPlacementGroup(String name)
Deprecated.
This method is no longer recommended to create a new placement group, use
PlacementGroups.getPlacementGroup(String) instead. |
static PlacementGroup |
PlacementGroups.getPlacementGroup(String name)
Get a placement group by placement group name from current job.
|
| Modifier and Type | Method and Description |
|---|---|
static List<PlacementGroup> |
Ray.getAllPlacementGroups()
Deprecated.
This method is no longer recommended to create a new placement group, use
PlacementGroups.getAllPlacementGroups() instead. |
static List<PlacementGroup> |
PlacementGroups.getAllPlacementGroups()
Get all placement groups in this cluster.
|
| Modifier and Type | Method and Description |
|---|---|
T |
BaseTaskCaller.setPlacementGroup(PlacementGroup group,
int bundleIndex)
Set the placement group to place this task in.
|
T |
BaseActorCreator.setPlacementGroup(PlacementGroup group,
int bundleIndex)
Set the placement group to place this actor in.
|
| Modifier and Type | Field and Description |
|---|---|
PlacementGroup |
CallOptions.group |
PlacementGroup |
ActorCreationOptions.group |
| Modifier and Type | Method and Description |
|---|---|
CallOptions.Builder |
CallOptions.Builder.setPlacementGroup(PlacementGroup group,
int bundleIndex)
Set the placement group to place this actor in.
|
ActorCreationOptions.Builder |
ActorCreationOptions.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,
boolean global)
Get a placement group by name.
|
| Modifier and Type | Method and Description |
|---|---|
List<PlacementGroup> |
RayRuntime.getAllPlacementGroups()
Get all placement groups in this cluster.
|
Copyright © 2021. All rights reserved.