Uses of Class
org.influxdb.impl.BatchProcessor.Builder
Package | Description |
---|---|
org.influxdb.impl |
-
Uses of BatchProcessor.Builder in org.influxdb.impl
Methods in org.influxdb.impl that return BatchProcessor.Builder Modifier and Type Method Description BatchProcessor.Builder
BatchProcessor.Builder. actions(int maxActions)
The number of actions after which a batchwrite must be performed.BatchProcessor.Builder
BatchProcessor.Builder. bufferLimit(int bufferLimit)
A buffer for failed writes so that the writes will be retried later on.static BatchProcessor.Builder
BatchProcessor. builder(InfluxDB influxDB)
Static method to create the Builder for this BatchProcessor.BatchProcessor.Builder
BatchProcessor.Builder. consistencyLevel(InfluxDB.ConsistencyLevel consistencyLevel)
Consistency level for batch write.BatchProcessor.Builder
BatchProcessor.Builder. dropActionsOnQueueExhaustion(boolean dropActionsOnQueueExhaustion)
To define the behaviour when the action queue exhausts.BatchProcessor.Builder
BatchProcessor.Builder. droppedActionHandler(Consumer<Point> handler)
A callback to be used when an actions are dropped on action queue exhaustion.BatchProcessor.Builder
BatchProcessor.Builder. exceptionHandler(BiConsumer<Iterable<Point>,Throwable> handler)
A callback to be used when an error occurs during a batchwrite.BatchProcessor.Builder
BatchProcessor.Builder. interval(int flushInterval, int jitterInterval, TimeUnit unit)
The interval at which at least should issued a write.BatchProcessor.Builder
BatchProcessor.Builder. interval(int interval, TimeUnit unit)
The interval at which at least should issued a write.BatchProcessor.Builder
BatchProcessor.Builder. precision(TimeUnit precision)
Set the time precision to use for the batch.BatchProcessor.Builder
BatchProcessor.Builder. threadFactory(ThreadFactory threadFactory)