All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.influxdb.impl.BatchWriter Maven / Gradle / Ivy

package org.influxdb.impl;

import org.influxdb.dto.BatchPoints;

import java.util.Collection;

/**
 * Write individual batches to InfluxDB.
 */
interface BatchWriter {
  /**
   * Write the given batch into InfluxDB.
   * @param batchPointsCollection to write
   */
  void write(Collection batchPointsCollection);

  /**
   * FLush all cached writes into InfluxDB. The application is about to exit.
   */
  void close();
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy