Package io.prestosql.execution.scheduler
Class TopologyAwareNodeSelectorConfig
- java.lang.Object
-
- io.prestosql.execution.scheduler.TopologyAwareNodeSelectorConfig
-
public class TopologyAwareNodeSelectorConfig extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TopologyAwareNodeSelectorConfig.TopologyType
-
Constructor Summary
Constructors Constructor Description TopologyAwareNodeSelectorConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull List<String>
getLocationSegmentNames()
@NotNull TopologyAwareNodeSelectorConfig.TopologyType
getType()
TopologyAwareNodeSelectorConfig
setLocationSegmentNames(String locationSegmentNames)
TopologyAwareNodeSelectorConfig
setLocationSegmentNames(List<String> locationSegmentNames)
TopologyAwareNodeSelectorConfig
setType(TopologyAwareNodeSelectorConfig.TopologyType type)
-
-
-
Method Detail
-
getType
@NotNull public @NotNull TopologyAwareNodeSelectorConfig.TopologyType getType()
-
setType
@Config("node-scheduler.network-topology.type") public TopologyAwareNodeSelectorConfig setType(TopologyAwareNodeSelectorConfig.TopologyType type)
-
setLocationSegmentNames
public TopologyAwareNodeSelectorConfig setLocationSegmentNames(List<String> locationSegmentNames)
-
setLocationSegmentNames
@Config("node-scheduler.network-topology.segments") public TopologyAwareNodeSelectorConfig setLocationSegmentNames(String locationSegmentNames)
-
-