public class InfluxDbOutputWriter extends AbstractOutputWriter
| Modifier and Type | Field and Description |
|---|---|
static 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(Map<String,String> settings) |
void |
writeInvocationResult(String invocationName,
Object value) |
void |
writeQueryResult(String metricName,
String metricType,
Object value) |
getDebugLevel, getInfoLevel, getTraceLevel, preCollect, preDestroypublic static final String SETTING_ENABLED
public void postConstruct(Map<String,String> settings)
postConstruct in interface OutputWriterpostConstruct in class AbstractOutputWriterpublic void writeInvocationResult(String invocationName, Object value) throws IOException
writeInvocationResult in interface OutputWriterwriteInvocationResult in class AbstractOutputWriterIOExceptionpublic void writeQueryResult(String metricName, String metricType, Object value) throws IOException
writeQueryResult in interface OutputWriterwriteQueryResult in class AbstractOutputWritermetricType - see Query.typeIOExceptionpublic void postCollect()
throws IOException
OutputWritercalled after a serie of writes, typically at the end of a collection.
Useful with batch writers.
postCollect in interface OutputWriterpostCollect in class AbstractOutputWriterIOExceptionCopyright © 2017. All Rights Reserved.