@Test public void testGetMetricData_time_window_less_than_day() { val latestTimeInEpoch = earliestTimeInEpoch + TimeConstantsUtil.SECONDS_PER_DAY / 2; val expected = buildExpectedResults(earliestTimeInEpoch, 1); val actual = sourceUnderTest.getMetricData(earliestTimeInEpoch, latestTimeInEpoch, intervalLength, "metric_name"); assertEquals(expected, actual); }
@Override public List<DataSourceResult> getMetricData(long earliestTime, long latestTime, int intervalLength, String target) { return buildDataSourceResult(earliestTime, latestTime, intervalLength, target); }
GraphiteSource implements DataSource { @Override public List<DataSourceResult> getMetricData(long earliestTime, long latestTime, int intervalLength, String target) { return buildDataSourceResult(earliestTime, latestTime, intervalLength, target); } }
GraphiteSource implements DataSource { @Override public List<DataSourceResult> getMetricData(long earliestTime, long latestTime, int intervalLength, String target) { return buildDataSourceResult(earliestTime, latestTime, intervalLength, target); }  }
GraphiteSource implements DataSource { @Override public List<DataSourceResult> getMetricData(long earliestTime, long latestTime, int intervalLength, String target) { return buildDataSourceResult(earliestTime, latestTime, intervalLength, target); }  @Override List<DataSourceResult> getMetricData(long earliestTime, long latestTime, int intervalLength, String target); }
GraphiteSource implements DataSource { @Override public List<DataSourceResult> getMetricData(long earliestTime, long latestTime, int intervalLength, String target) { return buildDataSourceResult(earliestTime, latestTime, intervalLength, target); }  @Override List<DataSourceResult> getMetricData(long earliestTime, long latestTime, int intervalLength, String target); static final Double MISSING_VALUE; }