Class ServerCostCache.Builder
- java.lang.Object
-
- org.apache.druid.server.coordinator.balancer.ServerCostCache.Builder
-
- Enclosing class:
- ServerCostCache
public static class ServerCostCache.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServerCostCache.BuilderaddSegment(org.apache.druid.timeline.DataSegment dataSegment)ServerCostCachebuild()booleanisEmpty()ServerCostCache.BuilderremoveSegment(org.apache.druid.timeline.DataSegment dataSegment)
-
-
-
Method Detail
-
addSegment
public ServerCostCache.Builder addSegment(org.apache.druid.timeline.DataSegment dataSegment)
-
removeSegment
public ServerCostCache.Builder removeSegment(org.apache.druid.timeline.DataSegment dataSegment)
-
isEmpty
public boolean isEmpty()
-
build
public ServerCostCache build()
-
-