| Package | Description |
|---|---|
| io.ray.api.options | |
| io.ray.api.placementgroup |
| Modifier and Type | Field and Description |
|---|---|
PlacementStrategy |
PlacementGroupCreationOptions.strategy |
| Modifier and Type | Method and Description |
|---|---|
PlacementGroupCreationOptions.Builder |
PlacementGroupCreationOptions.Builder.setStrategy(PlacementStrategy strategy)
Set the placement strategy used to control the placement relationship between bundles.
|
| Constructor and Description |
|---|
PlacementGroupCreationOptions(String name,
List<Map<String,Double>> bundles,
PlacementStrategy strategy) |
| Modifier and Type | Method and Description |
|---|---|
PlacementStrategy |
PlacementGroup.getStrategy()
Get the strategy of current placement group.
|
static PlacementStrategy |
PlacementStrategy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlacementStrategy[] |
PlacementStrategy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2024. All rights reserved.