public class ClusterCostCache extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ClusterCostCache.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ClusterCostCache.Builder |
builder() |
static ClusterCostCache.Builder |
builder(Map<String,Set<org.apache.druid.timeline.DataSegment>> segmentsByServerName) |
double |
computeCost(String serverName,
org.apache.druid.timeline.DataSegment dataSegment) |
public double computeCost(String serverName, org.apache.druid.timeline.DataSegment dataSegment)
public static ClusterCostCache.Builder builder()
public static ClusterCostCache.Builder builder(Map<String,Set<org.apache.druid.timeline.DataSegment>> segmentsByServerName)
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.