Constructor and Description |
---|
ForeverLoadRule(Map<String,Integer> tieredReplicants) |
Modifier and Type | Method and Description |
---|---|
boolean |
appliesTo(io.druid.timeline.DataSegment segment,
org.joda.time.DateTime referenceTimestamp) |
boolean |
appliesTo(org.joda.time.Interval interval,
org.joda.time.DateTime referenceTimestamp) |
int |
getNumReplicants(String tier) |
Map<String,Integer> |
getTieredReplicants() |
String |
getType() |
run, validateTieredReplicants
public String getType()
public Map<String,Integer> getTieredReplicants()
getTieredReplicants
in class LoadRule
public int getNumReplicants(String tier)
getNumReplicants
in class LoadRule
public boolean appliesTo(io.druid.timeline.DataSegment segment, org.joda.time.DateTime referenceTimestamp)
public boolean appliesTo(org.joda.time.Interval interval, org.joda.time.DateTime referenceTimestamp)
Copyright © 2011–2015. All rights reserved.