Package com.influxdb.spring.influx
Class InfluxDB2AutoConfiguration
java.lang.Object
com.influxdb.spring.influx.InfluxDB2AutoConfiguration
@Configuration
@ConditionalOnClass(InfluxDBClient.class)
@EnableConfigurationProperties(InfluxDB2Properties.class)
public class InfluxDB2AutoConfiguration
extends Object
Auto-configuration
for InfluxDB 2.- Author:
- Jakub Bednar (bednar@github) (06/05/2019 13:09)
-
Field Summary
Modifier and TypeFieldDescriptionprotected final InfluxDB2OkHttpClientBuilderProvider
protected final InfluxDB2Properties
-
Constructor Summary
ConstructorDescriptionInfluxDB2AutoConfiguration
(InfluxDB2Properties properties, org.springframework.beans.factory.ObjectProvider<InfluxDB2OkHttpClientBuilderProvider> builderProvider) -
Method Summary
-
Field Details
-
properties
-
builderProvider
-
-
Constructor Details
-
InfluxDB2AutoConfiguration
public InfluxDB2AutoConfiguration(InfluxDB2Properties properties, org.springframework.beans.factory.ObjectProvider<InfluxDB2OkHttpClientBuilderProvider> builderProvider)
-
-
Method Details
-
influxDBClient
@Bean @ConditionalOnProperty("influx.url") @ConditionalOnMissingBean(InfluxDBClient.class) public InfluxDBClient influxDBClient() -
makeBuilder
-