Interface InfluxdbInserter
-
- All Known Implementing Classes:
HttpInfluxdbInserter
public interface InfluxdbInserterAnInfluxdbInsertercan passMetricValues to an InfluxDB server according to some protocol.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidinsert(java.util.Collection<com.elastisys.autoscaler.core.api.types.MetricValue> values)Inserts a collection ofMetricValues into InfluxDB.
-
-
-
Method Detail
-
insert
void insert(java.util.Collection<com.elastisys.autoscaler.core.api.types.MetricValue> values) throws InfluxdbInserterExceptionInserts a collection ofMetricValues into InfluxDB. On failure, anInfluxdbInserterExceptionis thrown.- Parameters:
values- The values to be inserted.- Throws:
InfluxdbInserterException- if the insert failed
-
-