Class ClusterCostCache.Builder
- java.lang.Object
-
- org.apache.druid.server.coordinator.balancer.ClusterCostCache.Builder
-
- Enclosing class:
- ClusterCostCache
public static class ClusterCostCache.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddSegment(String serverName, org.apache.druid.timeline.DataSegment dataSegment)ClusterCostCachebuild()voidremoveSegment(String serverName, org.apache.druid.timeline.DataSegment dataSegment)voidremoveServer(String serverName)
-
-
-
Method Detail
-
addSegment
public void addSegment(String serverName, org.apache.druid.timeline.DataSegment dataSegment)
-
removeSegment
public void removeSegment(String serverName, org.apache.druid.timeline.DataSegment dataSegment)
-
removeServer
public void removeServer(String serverName)
-
build
public ClusterCostCache build()
-
-