Package | Description |
---|---|
org.influxdb | |
org.influxdb.impl |
Modifier and Type | Method and Description |
---|---|
static InfluxDB |
InfluxDBFactory.connect(String url)
Create a connection to a InfluxDB.
|
static InfluxDB |
InfluxDBFactory.connect(String url,
okhttp3.OkHttpClient.Builder client)
Create a connection to a InfluxDB.
|
static InfluxDB |
InfluxDBFactory.connect(String url,
String username,
String password)
Create a connection to a InfluxDB.
|
static InfluxDB |
InfluxDBFactory.connect(String url,
String username,
String password,
okhttp3.OkHttpClient.Builder client)
Create a connection to a InfluxDB.
|
static InfluxDB |
InfluxDBFactory.connect(String url,
String username,
String password,
okhttp3.OkHttpClient.Builder client,
InfluxDB.ResponseFormat responseFormat)
Create a connection to a InfluxDB.
|
InfluxDB |
InfluxDB.disableGzip()
Disable Gzip compress for http request body.
|
InfluxDB |
InfluxDB.enableBatch()
Enable batching of single Point writes to speed up writes significantly.
|
InfluxDB |
InfluxDB.enableBatch(BatchOptions batchOptions)
Enable batching of single Point writes to speed up writes significantly.
|
InfluxDB |
InfluxDB.enableBatch(int actions,
int flushDuration,
TimeUnit flushDurationTimeUnit)
Enable batching of single Point writes as
enableBatch(int, int, TimeUnit, ThreadFactory) }
using default thread factory. |
InfluxDB |
InfluxDB.enableBatch(int actions,
int flushDuration,
TimeUnit flushDurationTimeUnit,
ThreadFactory threadFactory)
Enable batching of single Point writes as
enableBatch(int, int, TimeUnit, ThreadFactory, BiConsumer)
using with a exceptionHandler that does nothing. |
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.
|
InfluxDB |
InfluxDB.enableGzip()
Enable Gzip compress for http request body.
|
InfluxDB |
InfluxDB.setConsistency(InfluxDB.ConsistencyLevel consistency)
Set the consistency level which is used for writing points.
|
InfluxDB |
InfluxDB.setDatabase(String database)
Set the database which is used for writing points.
|
InfluxDB |
InfluxDB.setLogLevel(InfluxDB.LogLevel logLevel)
Set the loglevel which is used for REST related actions.
|
InfluxDB |
InfluxDB.setRetentionPolicy(String retentionPolicy)
Set the retention policy which is used for writing points.
|
Modifier and Type | Class and Description |
---|---|
class |
InfluxDBImpl
Implementation of a InluxDB API.
|
Modifier and Type | Method and Description |
---|---|
InfluxDB |
InfluxDBImpl.disableGzip()
Disable Gzip compress for http request body.
|
InfluxDB |
InfluxDBImpl.enableBatch() |
InfluxDB |
InfluxDBImpl.enableBatch(BatchOptions batchOptions) |
InfluxDB |
InfluxDBImpl.enableBatch(int actions,
int flushDuration,
TimeUnit flushDurationTimeUnit) |
InfluxDB |
InfluxDBImpl.enableBatch(int actions,
int flushDuration,
TimeUnit flushDurationTimeUnit,
ThreadFactory threadFactory) |
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) |
InfluxDB |
InfluxDBImpl.enableGzip()
Enable Gzip compress for http request body.
|
InfluxDB |
InfluxDBImpl.setConsistency(InfluxDB.ConsistencyLevel consistency) |
InfluxDB |
InfluxDBImpl.setDatabase(String database) |
InfluxDB |
InfluxDBImpl.setLogLevel(InfluxDB.LogLevel logLevel) |
InfluxDB |
InfluxDBImpl.setRetentionPolicy(String retentionPolicy) |
Modifier and Type | Method and Description |
---|---|
static BatchProcessor.Builder |
BatchProcessor.builder(InfluxDB influxDB)
Static method to create the Builder for this BatchProcessor.
|
Constructor and Description |
---|
Builder(InfluxDB influxDB) |
Copyright © 2018. All rights reserved.