org.influxdb.impl.BatchWriter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of influxdb-java Show documentation
Show all versions of influxdb-java Show documentation
Java API to access the InfluxDB REST API
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