org.qi4j.library.scheduler.timeline
Interface Timeline
- All Known Subinterfaces:
- TimelineService
- All Known Implementing Classes:
- TimelineService.Mixin
public interface Timeline
Timeline allow to browse in past and future Task runs.
getLastRecords
Iterable<TimelineRecord> getLastRecords(int maxResults)
- Parameters:
maxResults
- Maximum number of TimelineRecord to compute
- Returns:
- Last past records
getNextRecords
Iterable<TimelineRecord> getNextRecords(int maxResults)
- Parameters:
maxResults
- Maximum number of TimelineRecord to compute
- Returns:
- Next running or future records
getRecords
Iterable<TimelineRecord> getRecords(Date from,
Date to)
- Parameters:
from
- Lower limitto
- Upper limit
- Returns:
- Records between the given dates
getRecords
Iterable<TimelineRecord> getRecords(long from,
long to)
- Parameters:
from
- Lower limitto
- Upper limit
- Returns:
- Records between the given dates