Package com.gigaspaces.metrics.influxdb
Class InfluxDBReporterFactory
java.lang.Object
com.gigaspaces.metrics.MetricReporterFactory<MetricReporter>
com.gigaspaces.metrics.influxdb.InfluxDBReporterFactory
- All Implemented Interfaces:
DbReporterFactory
public class InfluxDBReporterFactory
extends MetricReporterFactory<MetricReporter>
implements DbReporterFactory
- Since:
- 10.1
- Author:
- Barak Bar Orion
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create a new metric reporter.getHost()intintgetPort()voidload(Properties properties) voidsetConsistency(String consistency) voidsetDatabase(String database) voidvoidsetMaxReportLength(int maxReportLength) voidsetPassword(String password) voidsetPort(int port) voidsetProtocol(String protocol) voidsetRetentionPolicy(String retentionPolicy) voidsetTimePrecision(TimeUnit timePrecision) voidsetUsername(String username) voidsetVersion(String version) Methods inherited from class com.gigaspaces.metrics.MetricReporterFactory
getPathSeparator, setPathSeparator
-
Field Details
-
DEFAULT_MAX_REPORT_LENGTH
public static final int DEFAULT_MAX_REPORT_LENGTH- See Also:
-
DEFAULT_VERSION
- See Also:
-
DEFAULT_PROTOCOL
- See Also:
-
DEFAULT_PORT_HTTP
public static final int DEFAULT_PORT_HTTP- See Also:
-
DEFAULT_PORT_UDP
public static final int DEFAULT_PORT_UDP- See Also:
-
-
Constructor Details
-
InfluxDBReporterFactory
public InfluxDBReporterFactory()
-
-
Method Details
-
load
- Overrides:
loadin classMetricReporterFactory<MetricReporter>
-
create
Description copied from class:MetricReporterFactoryCreate a new metric reporter.- Specified by:
createin classMetricReporterFactory<MetricReporter>- Returns:
- a new reporter of this type.
-
getMaxReportLength
public int getMaxReportLength() -
setMaxReportLength
public void setMaxReportLength(int maxReportLength) -
getTimePrecision
- Specified by:
getTimePrecisionin interfaceDbReporterFactory
-
setTimePrecision
-
setVersion
-
getProtocol
- Specified by:
getProtocolin interfaceDbReporterFactory
-
setProtocol
-
getHost
- Specified by:
getHostin interfaceDbReporterFactory
-
setHost
-
getPort
public int getPort()- Specified by:
getPortin interfaceDbReporterFactory
-
setPort
public void setPort(int port) -
getDatabase
- Specified by:
getDatabasein interfaceDbReporterFactory
-
setDatabase
-
getUsername
- Specified by:
getUsernamein interfaceDbReporterFactory
-
setUsername
-
getPassword
- Specified by:
getPasswordin interfaceDbReporterFactory
-
setPassword
-
getRetentionPolicy
- Specified by:
getRetentionPolicyin interfaceDbReporterFactory
-
setRetentionPolicy
-
getConsistency
- Specified by:
getConsistencyin interfaceDbReporterFactory
-
setConsistency
-