public class IndexEntriesLoader extends Object
index entries during aggregation.| Constructor and Description |
|---|
IndexEntriesLoader(org.joda.time.DateTime currentTimeSlice,
org.joda.time.DateTime currentDay,
MetricsDAO dao) |
| Modifier and Type | Method and Description |
|---|---|
List<CacheIndexEntry> |
loadCurrentCacheIndexEntries(int pageSize,
MetricsTable table)
Returns cache index entries for the current time slice.
|
List<CacheIndexEntry> |
loadPastIndexEntries(org.joda.time.DateTime startDay)
We store a configurable amount of past data where the amount is specified as a duration in days.
|
public IndexEntriesLoader(org.joda.time.DateTime currentTimeSlice,
org.joda.time.DateTime currentDay,
MetricsDAO dao)
public List<CacheIndexEntry> loadPastIndexEntries(org.joda.time.DateTime startDay)
public List<CacheIndexEntry> loadCurrentCacheIndexEntries(int pageSize, MetricsTable table)
pageSize - The limit of rows to return per querytable - One of raw, 1 hr, or 6hrCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.