Class GenericDelayResolver.DelaySchedule
- java.lang.Object
-
- com.norconex.collector.http.delay.impl.GenericDelayResolver.DelaySchedule
-
- Enclosing class:
- GenericDelayResolver
public static class GenericDelayResolver.DelaySchedule extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GenericDelayResolver.DelaySchedule.DOW
-
Constructor Summary
Constructors Constructor Description DelaySchedule(String dow, String dom, String time, long delay)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
CircularRange<Integer>
getDayOfMonthRange()
CircularRange<GenericDelayResolver.DelaySchedule.DOW>
getDayOfWeekRange()
long
getDelay()
CircularRange<Integer>
getTimeRange()
int
hashCode()
boolean
isCurrentTimeInSchedule()
String
toString()
-
-
-
Method Detail
-
isCurrentTimeInSchedule
public boolean isCurrentTimeInSchedule()
-
getDayOfWeekRange
public CircularRange<GenericDelayResolver.DelaySchedule.DOW> getDayOfWeekRange()
-
getDayOfMonthRange
public CircularRange<Integer> getDayOfMonthRange()
-
getTimeRange
public CircularRange<Integer> getTimeRange()
-
getDelay
public long getDelay()
-
-