public class InfluxDBReporterFactory extends MetricReporterFactory<MetricReporter> implements DbReporterFactory
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_MAX_REPORT_LENGTH |
static int |
DEFAULT_PORT_HTTP |
static int |
DEFAULT_PORT_UDP |
static String |
DEFAULT_PROTOCOL |
static String |
DEFAULT_VERSION |
Constructor and Description |
---|
InfluxDBReporterFactory() |
Modifier and Type | Method and Description |
---|---|
MetricReporter |
create()
Create a new metric reporter.
|
String |
getConsistency() |
String |
getDatabase() |
String |
getHost() |
int |
getMaxReportLength() |
String |
getPassword() |
int |
getPort() |
String |
getProtocol() |
String |
getRetentionPolicy() |
TimeUnit |
getTimePrecision() |
String |
getUsername() |
void |
load(Properties properties) |
void |
setConsistency(String consistency) |
void |
setDatabase(String database) |
void |
setHost(String host) |
void |
setMaxReportLength(int maxReportLength) |
void |
setPassword(String password) |
void |
setPort(int port) |
void |
setProtocol(String protocol) |
void |
setRetentionPolicy(String retentionPolicy) |
void |
setTimePrecision(TimeUnit timePrecision) |
void |
setUsername(String username) |
void |
setVersion(String version) |
getPathSeparator, setPathSeparator
public static final int DEFAULT_MAX_REPORT_LENGTH
public static final String DEFAULT_VERSION
public static final String DEFAULT_PROTOCOL
public static final int DEFAULT_PORT_HTTP
public static final int DEFAULT_PORT_UDP
public void load(Properties properties)
load
in class MetricReporterFactory<MetricReporter>
public MetricReporter create()
MetricReporterFactory
create
in class MetricReporterFactory<MetricReporter>
public int getMaxReportLength()
public void setMaxReportLength(int maxReportLength)
public TimeUnit getTimePrecision()
getTimePrecision
in interface DbReporterFactory
public void setTimePrecision(TimeUnit timePrecision)
public void setVersion(String version)
public String getProtocol()
getProtocol
in interface DbReporterFactory
public void setProtocol(String protocol)
public String getHost()
getHost
in interface DbReporterFactory
public void setHost(String host)
public int getPort()
getPort
in interface DbReporterFactory
public void setPort(int port)
public String getDatabase()
getDatabase
in interface DbReporterFactory
public void setDatabase(String database)
public String getUsername()
getUsername
in interface DbReporterFactory
public void setUsername(String username)
public String getPassword()
getPassword
in interface DbReporterFactory
public void setPassword(String password)
public String getRetentionPolicy()
getRetentionPolicy
in interface DbReporterFactory
public void setRetentionPolicy(String retentionPolicy)
public String getConsistency()
getConsistency
in interface DbReporterFactory
public void setConsistency(String consistency)
Copyright © GigaSpaces.