public class Sender extends Object
EvictingQueue to store and retry measurements that have
failed to send, and timestamps measurements at the configured precision, up to millisecond precision.| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_QUEUE_SIZE |
| Constructor and Description |
|---|
Sender(InfluxDbWriter writer) |
Sender(InfluxDbWriter writer,
int queueSize) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
send(Collection<InfluxDbMeasurement> influxDbMeasurements)
Sends the provided
measurements to InfluxDB. |
public static final int DEFAULT_QUEUE_SIZE
public Sender(InfluxDbWriter writer)
public Sender(InfluxDbWriter writer, int queueSize)
public boolean send(Collection<InfluxDbMeasurement> influxDbMeasurements)
measurements to InfluxDB.Copyright © 2017. All rights reserved.