public class NoOpStrategy extends Object implements MeasurementFetchStrategy
Constructor and Description |
---|
NoOpStrategy() |
Modifier and Type | Method and Description |
---|---|
FetchResults |
fetch(long start,
long end,
long step,
int maxrows,
List<Source> sources)
Fetches the measurements for the given sources.
|
public FetchResults fetch(long start, long end, long step, int maxrows, List<Source> sources) throws Exception
MeasurementFetchStrategy
fetch
in interface MeasurementFetchStrategy
start
- timestamp in millisecondsend
- timestamp in millisecondsstep
- desired resolution in milliseconds - actual resolution might differmaxrows
- maximum number of rows- no limit when <= 0sources
- array of sources - these should have unique labelsException
Copyright © 2015. All rights reserved.