public abstract class LoadRule extends Object implements Rule
| Constructor and Description |
|---|
LoadRule() |
| Modifier and Type | Method and Description |
|---|---|
abstract int |
getNumReplicants(String tier) |
abstract Map<String,Integer> |
getTieredReplicants() |
CoordinatorStats |
run(DruidCoordinator coordinator,
DruidCoordinatorRuntimeParams params,
org.apache.druid.timeline.DataSegment segment) |
protected static void |
validateTieredReplicants(Map<String,Integer> tieredReplicants) |
public CoordinatorStats run(DruidCoordinator coordinator, DruidCoordinatorRuntimeParams params, org.apache.druid.timeline.DataSegment segment)
protected static void validateTieredReplicants(Map<String,Integer> tieredReplicants)
public abstract int getNumReplicants(String tier)
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.