@Configuration @ConditionalOnInfluxdbEnabled @EnableConfigurationProperties(value=InfluxdbProperties.class) public class InfluxdbConfiguration extends Object
Description: Influxdb 配置
| 构造器和说明 |
|---|
InfluxdbConfiguration() |
@PostConstruct public void init()
@Bean public org.influxdb.InfluxDB influxdb(InfluxdbProperties influxdbProperties)
@Bean @ConditionalOnBean(value=org.influxdb.InfluxDB.class) public InfluxdbTemplate influxdbTemplate(org.influxdb.InfluxDB influxdb)
Copyright © 2022. All rights reserved.