Package com.influxdb.client.internal
Class AbstractInfluxDBClient
java.lang.Object
com.influxdb.internal.AbstractRestClient
com.influxdb.client.internal.AbstractInfluxDBClient
- Direct Known Subclasses:
InfluxDBClientImpl
,InfluxDBClientReactiveImpl
- Author:
- Jakub Bednar (bednar@github) (20/11/2018 07:13)
-
Field Summary
Modifier and TypeFieldDescriptionprotected final Collection
<AutoCloseable> static final Dialect
protected final GzipInterceptor
final HealthService
protected final okhttp3.logging.HttpLoggingInterceptor
protected final InfluxDBClientOptions
final PingService
protected final retrofit2.Retrofit
-
Constructor Summary
ConstructorDescriptionAbstractInfluxDBClient
(InfluxDBClientOptions options, String clientType) AbstractInfluxDBClient
(InfluxDBClientOptions options, String clientType, Collection<retrofit2.CallAdapter.Factory> factories) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
protected HealthCheck
health
(retrofit2.Call<HealthCheck> healthCall) Methods inherited from class com.influxdb.internal.AbstractRestClient
execute, getLogLevel, ping, responseToError, setLogLevel, toInfluxException, version
-
Field Details
-
DEFAULT_DIALECT
-
healthService
-
pingService
-
retrofit
protected final retrofit2.Retrofit retrofit -
options
-
loggingInterceptor
protected final okhttp3.logging.HttpLoggingInterceptor loggingInterceptor -
gzipInterceptor
-
autoCloseables
-
-
Constructor Details
-
AbstractInfluxDBClient
-
AbstractInfluxDBClient
public AbstractInfluxDBClient(@Nonnull InfluxDBClientOptions options, @Nonnull String clientType, @Nonnull Collection<retrofit2.CallAdapter.Factory> factories)
-
-
Method Details
-
close
public void close() -
health
-