public class IntervalBroadcastDistributionRule extends BroadcastDistributionRule
Constructor and Description |
---|
IntervalBroadcastDistributionRule(org.joda.time.Interval interval,
List<String> colocatedDataSources) |
Modifier and Type | Method and Description |
---|---|
boolean |
appliesTo(DataSegment segment,
org.joda.time.DateTime referenceTimestamp) |
boolean |
appliesTo(org.joda.time.Interval interval,
org.joda.time.DateTime referenceTimestamp) |
boolean |
equals(Object o) |
List<String> |
getColocatedDataSources() |
org.joda.time.Interval |
getInterval() |
String |
getType() |
int |
hashCode() |
run
public String getType()
public List<String> getColocatedDataSources()
getColocatedDataSources
in class BroadcastDistributionRule
public boolean appliesTo(DataSegment segment, org.joda.time.DateTime referenceTimestamp)
public boolean appliesTo(org.joda.time.Interval interval, org.joda.time.DateTime referenceTimestamp)
public org.joda.time.Interval getInterval()
Copyright © 2011–2018. All rights reserved.