public abstract class AbstractInfluxDBClient extends AbstractRestClient
Modifier and Type | Field and Description |
---|---|
static Dialect |
DEFAULT_DIALECT |
protected GzipInterceptor |
gzipInterceptor |
HealthService |
healthService |
protected okhttp3.logging.HttpLoggingInterceptor |
loggingInterceptor |
protected InfluxDBClientOptions |
options |
protected retrofit2.Retrofit |
retrofit |
Constructor and Description |
---|
AbstractInfluxDBClient(InfluxDBClientOptions options) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected HealthCheck |
health(retrofit2.Call<HealthCheck> healthCall) |
catchOrPropagateException, createBody, execute, execute, execute, execute, getLogLevel, isCloseException, responseToError, setLogLevel
public static final Dialect DEFAULT_DIALECT
public final HealthService healthService
protected final retrofit2.Retrofit retrofit
protected final InfluxDBClientOptions options
protected final okhttp3.logging.HttpLoggingInterceptor loggingInterceptor
protected final GzipInterceptor gzipInterceptor
public AbstractInfluxDBClient(@Nonnull InfluxDBClientOptions options)
public void close()
@Nonnull protected HealthCheck health(retrofit2.Call<HealthCheck> healthCall)
Copyright © 2018–2019 InfluxData, Inc.. All rights reserved.