public class InfluxDBReporterFactory extends MetricReporterFactory<MetricReporter>
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()
public void setTimePrecision(TimeUnit timePrecision)
public void setVersion(String version)
public String getProtocol()
public void setProtocol(String protocol)
public String getHost()
public void setHost(String host)
public int getPort()
public void setPort(int port)
public String getDatabase()
public void setDatabase(String database)
public String getUsername()
public void setUsername(String username)
public String getPassword()
public void setPassword(String password)
public String getRetentionPolicy()
public void setRetentionPolicy(String retentionPolicy)
public String getConsistency()
public void setConsistency(String consistency)
Copyright © GigaSpaces.