Package com.influxdb.client.internal
Class AbstractInfluxDBClient
java.lang.Object
com.influxdb.internal.AbstractRestClient
com.influxdb.client.internal.AbstractInfluxDBClient
- Direct Known Subclasses:
InfluxDBClientImpl
- Author:
- Jakub Bednar (bednar@github) (20/11/2018 07:13)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Collection<AutoCloseable> static final Dialectprotected final GzipInterceptorfinal HealthServiceprotected final okhttp3.logging.HttpLoggingInterceptorprotected final InfluxDBClientOptionsfinal PingServiceprotected final retrofit2.Retrofit -
Constructor Summary
ConstructorsConstructorDescriptionAbstractInfluxDBClient(InfluxDBClientOptions options, String clientType) AbstractInfluxDBClient(InfluxDBClientOptions options, String clientType, Collection<retrofit2.CallAdapter.Factory> factories) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected HealthCheckhealth(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
-