public class InfluxDbOutputWriter extends AbstractOutputWriter
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SETTING_ENABLED |
logger, SETTING_LOG_LEVEL, SETTING_LOG_LEVEL_DEFAULT_VALUE| Constructor and Description |
|---|
InfluxDbOutputWriter() |
| Modifier and Type | Method and Description |
|---|---|
void |
postCollect()
called after a serie of writes, typically at the end of a collection.
|
void |
postConstruct(java.util.Map<java.lang.String,java.lang.String> settings) |
void |
writeInvocationResult(java.lang.String invocationName,
java.lang.Object value) |
void |
writeQueryResult(java.lang.String metricName,
java.lang.String metricType,
java.lang.Object value) |
getDebugLevel, getInfoLevel, getTraceLevel, preCollect, preDestroypublic static final java.lang.String SETTING_ENABLED
public void postConstruct(java.util.Map<java.lang.String,java.lang.String> settings)
postConstruct in interface OutputWriterpostConstruct in class AbstractOutputWriterpublic void writeInvocationResult(java.lang.String invocationName,
java.lang.Object value)
throws java.io.IOException
writeInvocationResult in interface OutputWriterwriteInvocationResult in class AbstractOutputWriterjava.io.IOExceptionpublic void writeQueryResult(java.lang.String metricName,
java.lang.String metricType,
java.lang.Object value)
throws java.io.IOException
writeQueryResult in interface OutputWriterwriteQueryResult in class AbstractOutputWritermetricType - see Query.typejava.io.IOExceptionpublic void postCollect()
throws java.io.IOException
OutputWritercalled after a serie of writes, typically at the end of a collection.
Useful with batch writers.
postCollect in interface OutputWriterpostCollect in class AbstractOutputWriterjava.io.IOExceptionCopyright © 2018. All Rights Reserved.