| 程序包 | 说明 |
|---|---|
| io.ray.api | |
| io.ray.api.options | |
| io.ray.api.placementgroup |
| 限定符和类型 | 方法和说明 |
|---|---|
static PlacementGroup |
Ray.createPlacementGroup(List<Map<String,Double>> bundles,
PlacementStrategy strategy)
已过时。
This method is no longer recommended to create a new placement group, use
PlacementGroups.createPlacementGroup(PlacementGroupCreationOptions) instead. |
static PlacementGroup |
Ray.createPlacementGroup(String name,
List<Map<String,Double>> bundles,
PlacementStrategy strategy)
已过时。
This method is no longer recommended to create a new placement group, use
PlacementGroups.createPlacementGroup(PlacementGroupCreationOptions) instead. |
| 限定符和类型 | 字段和说明 |
|---|---|
PlacementStrategy |
PlacementGroupCreationOptions.strategy |
| 限定符和类型 | 方法和说明 |
|---|---|
PlacementGroupCreationOptions.Builder |
PlacementGroupCreationOptions.Builder.setStrategy(PlacementStrategy strategy)
Set the placement strategy used to control the placement relationship between bundles.
|
| 构造器和说明 |
|---|
PlacementGroupCreationOptions(boolean global,
String name,
List<Map<String,Double>> bundles,
PlacementStrategy strategy) |
| 限定符和类型 | 方法和说明 |
|---|---|
PlacementStrategy |
PlacementGroup.getStrategy()
Get the strategy of current placement group.
|
static PlacementStrategy |
PlacementStrategy.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static PlacementStrategy[] |
PlacementStrategy.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
Copyright © 2021. All rights reserved.