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

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

There is a newer version: 2.24
Show newest version
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