Package | Description |
---|---|
org.influxdb | |
org.influxdb.dto | |
org.influxdb.impl |
Modifier and Type | Method and Description |
---|---|
Consumer<Point> |
BatchOptions.getDroppedActionHandler() |
BiConsumer<Iterable<Point>,Throwable> |
BatchOptions.getExceptionHandler() |
Modifier and Type | Method and Description |
---|---|
void |
InfluxDB.write(int udpPort,
Point point)
Write a single Point to the database through UDP.
|
void |
InfluxDB.write(Point point)
Write a single Point to the default database.
|
void |
InfluxDB.write(String database,
String retentionPolicy,
Point point)
Write a single Point to the database.
|
Modifier and Type | Method and Description |
---|---|
BatchOptions |
BatchOptions.droppedActionHandler(Consumer<Point> droppedActionHandler)
Handler to handle dropped actions due to queue actions.
|
InfluxDB |
InfluxDB.enableBatch(int actions,
int flushDuration,
TimeUnit flushDurationTimeUnit,
ThreadFactory threadFactory,
BiConsumer<Iterable<Point>,Throwable> exceptionHandler)
Enable batching of single Point writes to speed up writes significant.
|
InfluxDB |
InfluxDB.enableBatch(int actions,
int flushDuration,
TimeUnit flushDurationTimeUnit,
ThreadFactory threadFactory,
BiConsumer<Iterable<Point>,Throwable> exceptionHandler,
InfluxDB.ConsistencyLevel consistency)
Enable batching of single Point writes with consistency set for an entire batch
flushDurations is reached first, a batch write is issued.
|
BatchOptions |
BatchOptions.exceptionHandler(BiConsumer<Iterable<Point>,Throwable> exceptionHandler) |
Modifier and Type | Method and Description |
---|---|
Point |
Point.Builder.build()
Create a new Point.
|
Modifier and Type | Method and Description |
---|---|
List<Point> |
BatchPoints.getPoints() |
Modifier and Type | Method and Description |
---|---|
BatchPoints |
BatchPoints.point(Point point)
Add a single Point to these batches.
|
BatchPoints.Builder |
BatchPoints.Builder.point(Point pointToAdd)
Add a Point to this set of points.
|
BatchPoints.Builder |
BatchPoints.Builder.points(Point... pointsToAdd)
Add a set of Points to this set of points.
|
Modifier and Type | Method and Description |
---|---|
BatchPoints.Builder |
BatchPoints.Builder.points(Collection<Point> pointsToAdd)
Add a set of Points to this set of points.
|
Modifier and Type | Method and Description |
---|---|
Consumer<Point> |
BatchProcessor.getDroppedActionHandler() |
Modifier and Type | Method and Description |
---|---|
void |
InfluxDBImpl.write(int udpPort,
Point point)
Write a single Point to the database through UDP.
|
void |
InfluxDBImpl.write(Point point) |
void |
InfluxDBImpl.write(String database,
String retentionPolicy,
Point point) |
Modifier and Type | Method and Description |
---|---|
BatchProcessor.Builder |
BatchProcessor.Builder.droppedActionHandler(Consumer<Point> handler)
A callback to be used when an actions are dropped on action queue exhaustion.
|
InfluxDB |
InfluxDBImpl.enableBatch(int actions,
int flushDuration,
TimeUnit flushDurationTimeUnit,
ThreadFactory threadFactory,
BiConsumer<Iterable<Point>,Throwable> exceptionHandler) |
InfluxDB |
InfluxDBImpl.enableBatch(int actions,
int flushDuration,
TimeUnit flushDurationTimeUnit,
ThreadFactory threadFactory,
BiConsumer<Iterable<Point>,Throwable> exceptionHandler,
InfluxDB.ConsistencyLevel consistency) |
BatchProcessor.Builder |
BatchProcessor.Builder.exceptionHandler(BiConsumer<Iterable<Point>,Throwable> handler)
A callback to be used when an error occurs during a batchwrite.
|
Copyright © 2020. All rights reserved.