|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TimeIntervalScheduler<E extends TimeIntervalEntry>
Defines an interface for scheduling "something" on an entry that a provider of that service would implement.
Nested Class Summary | |
---|---|
static class |
TimeIntervalScheduler.ScheduleType
|
Method Summary | |
---|---|
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. |
Method Detail |
---|
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |