@Test public void closePropagates() { history.close(); verify(influxDB, times(1)).close(); verifyNoMoreInteractions(influxDB); }
@Override public void close() { getInfluxDB().close(); }
InfluxHistory extends InfluxUtil implements CollectHistory, AutoCloseable { @Override public void close() { getInfluxDB().close(); } }
InfluxHistory extends InfluxUtil implements CollectHistory, AutoCloseable { @Override public void close() { getInfluxDB().close(); } InfluxHistory(InfluxDB influxDB, String database);  InfluxHistory(InfluxDB influxDB, String database, boolean verifyDatabaseConnection); }
InfluxHistory extends InfluxUtil implements CollectHistory, AutoCloseable { @Override public void close() { getInfluxDB().close(); } InfluxHistory(InfluxDB influxDB, String database);  InfluxHistory(InfluxDB influxDB, String database, boolean verifyDatabaseConnection); @Override void close(); @Override boolean add(@NonNull TimeSeriesCollection tsdata); @Override boolean addAll(@NonNull Collection<? extends TimeSeriesCollection> c); @Override boolean addAll(@NonNull Iterator<? extends TimeSeriesCollection> i); int getTargetBatchSize(); void setTargetBatchSize(int targetBatchSize); @Override long getFileSize(); @Override DateTime getEnd(); Optional<DateTime> getBegin(); @Override Stream<TimeSeriesCollection> streamReversed(); @Override Stream<TimeSeriesCollection> stream(); Stream<TimeSeriesCollection> stream(@NonNull TimeSeriesMetricFilter filter); Stream<TimeSeriesCollection> stream(@NonNull Duration stepsize, @NonNull TimeSeriesMetricFilter filter); @Override Stream<TimeSeriesCollection> stream(DateTime begin); Stream<TimeSeriesCollection> stream(@NonNull DateTime begin, @NonNull TimeSeriesMetricFilter filter); Stream<TimeSeriesCollection> stream(DateTime begin, Duration stepsize, TimeSeriesMetricFilter filter); @Override Stream<TimeSeriesCollection> stream(DateTime begin, DateTime end); Stream<TimeSeriesCollection> stream(@NonNull DateTime begin, @NonNull DateTime end, @NonNull TimeSeriesMetricFilter filter); Stream<TimeSeriesCollection> stream(DateTime begin, DateTime end, Duration stepsize, TimeSeriesMetricFilter filter); @Override Stream<Context> getContext(Duration stepsize, ExpressionLookBack lookback, TimeSeriesMetricFilter filter); @Override Stream<Context> getContext(DateTime begin, Duration stepsize, ExpressionLookBack lookback, TimeSeriesMetricFilter filter); @Override Stream<Context> getContext(DateTime begin, DateTime end, Duration stepsize, ExpressionLookBack lookback, TimeSeriesMetricFilter filter); }
InfluxHistory extends InfluxUtil implements CollectHistory, AutoCloseable { @Override public void close() { getInfluxDB().close(); } InfluxHistory(InfluxDB influxDB, String database);  InfluxHistory(InfluxDB influxDB, String database, boolean verifyDatabaseConnection); @Override void close(); @Override boolean add(@NonNull TimeSeriesCollection tsdata); @Override boolean addAll(@NonNull Collection<? extends TimeSeriesCollection> c); @Override boolean addAll(@NonNull Iterator<? extends TimeSeriesCollection> i); int getTargetBatchSize(); void setTargetBatchSize(int targetBatchSize); @Override long getFileSize(); @Override DateTime getEnd(); Optional<DateTime> getBegin(); @Override Stream<TimeSeriesCollection> streamReversed(); @Override Stream<TimeSeriesCollection> stream(); Stream<TimeSeriesCollection> stream(@NonNull TimeSeriesMetricFilter filter); Stream<TimeSeriesCollection> stream(@NonNull Duration stepsize, @NonNull TimeSeriesMetricFilter filter); @Override Stream<TimeSeriesCollection> stream(DateTime begin); Stream<TimeSeriesCollection> stream(@NonNull DateTime begin, @NonNull TimeSeriesMetricFilter filter); Stream<TimeSeriesCollection> stream(DateTime begin, Duration stepsize, TimeSeriesMetricFilter filter); @Override Stream<TimeSeriesCollection> stream(DateTime begin, DateTime end); Stream<TimeSeriesCollection> stream(@NonNull DateTime begin, @NonNull DateTime end, @NonNull TimeSeriesMetricFilter filter); Stream<TimeSeriesCollection> stream(DateTime begin, DateTime end, Duration stepsize, TimeSeriesMetricFilter filter); @Override Stream<Context> getContext(Duration stepsize, ExpressionLookBack lookback, TimeSeriesMetricFilter filter); @Override Stream<Context> getContext(DateTime begin, Duration stepsize, ExpressionLookBack lookback, TimeSeriesMetricFilter filter); @Override Stream<Context> getContext(DateTime begin, DateTime end, Duration stepsize, ExpressionLookBack lookback, TimeSeriesMetricFilter filter);  }