public interface TimeIntervalScheduler<E extends TimeIntervalEntry>
Modifier and Type | Interface and Description |
---|---|
static class |
TimeIntervalScheduler.ScheduleType |
Modifier and Type | Method and Description |
---|---|
TimeInterval |
getSchedulerInterval(long time) |
TimeInterval |
getSchedulerInterval(long time,
long intervalDuration) |
void |
schedule(E entry)
Schedules an entryy using the time interval of the entry.
|
void |
schedule(E entry,
long time) |
void |
schedule(E entry,
TimeInterval interval)
Schedules entry, based on the time interval provided.
|
void schedule(E entry)
entry
- void schedule(E entry, long time)
void schedule(E entry, TimeInterval interval)
entry
- interval
- TimeInterval getSchedulerInterval(long time)
TimeInterval getSchedulerInterval(long time, long intervalDuration)