public class InfluxDBAccessor extends Object implements org.springframework.beans.factory.InitializingBean
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
InfluxDBAccessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
org.influxdb.InfluxDB |
getConnection() |
InfluxDBConnectionFactory |
getConnectionFactory()
Returns the connection factory.
|
String |
getDatabase() |
String |
getRetentionPolicy() |
void |
setConnectionFactory(InfluxDBConnectionFactory connectionFactory)
Sets the connection factory.
|
public InfluxDBConnectionFactory getConnectionFactory()
public void setConnectionFactory(InfluxDBConnectionFactory connectionFactory)
connectionFactory - The connection factory to setpublic String getDatabase()
public String getRetentionPolicy()
public org.influxdb.InfluxDB getConnection()
public void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanCopyright © 2018 Pivotal Software, Inc.. All rights reserved.