public interface MeasurementFetchStrategy
| Modifier and Type | Method and Description |
|---|---|
FetchResults |
fetch(long start,
long end,
long step,
int maxrows,
Long interval,
Long heartbeat,
List<Source> sources)
Fetches the measurements for the given sources.
|
FetchResults fetch(long start, long end, long step, int maxrows, Long interval, Long heartbeat, List<Source> sources) throws Exception
start - timestamp in millisecondsend - timestamp in millisecondsstep - desired resolution in milliseconds - actual resolution might differmaxrows - maximum number of rows - no limit when <= 0interval - duration in milliseconds, used by strategies that implement late aggregationheartbeat - duration in milliseconds, used by strategies that implement late aggregationsources - array of sources - these should have unique labelsExceptionCopyright © 2015. All rights reserved.