public class RRDWriter extends BaseOutputWriter
BINARY_PATH, BOOLEAN_AS_NUMBER, DEBUG, HOST, OUTPUT_FILE, PORT, TEMPLATE_FILE, TYPE_NAMES| Constructor and Description |
|---|
RRDWriter(com.google.common.collect.ImmutableList<String> typeNames,
boolean booleanAsNumber,
Boolean debugEnabled,
String outputFile,
String templateFile,
Map<String,Object> settings) |
| Modifier and Type | Method and Description |
|---|---|
protected org.jrobin.core.RrdDb |
createOrOpenDatabase()
If the database file doesn't exist, it'll get created, otherwise, it'll
be returned in r/w mode.
|
String |
getOutputFile() |
String |
getTemplateFile() |
void |
internalWrite(Server server,
Query query,
com.google.common.collect.ImmutableList<Result> results) |
void |
validateSetup(Server server,
Query query) |
close, create, doWrite, firstNonNull, getConcatedTypeNameValues, getSettings, getTypeNames, isDebugEnabled, start, toStringpublic void validateSetup(Server server, Query query) throws ValidationException
ValidationExceptionpublic void internalWrite(Server server, Query query, com.google.common.collect.ImmutableList<Result> results) throws Exception
internalWrite in class BaseOutputWriterExceptionprotected org.jrobin.core.RrdDb createOrOpenDatabase()
throws Exception
Exceptionpublic String getTemplateFile()
public String getOutputFile()
Copyright © 2010-2017 JmxTrans team. All Rights Reserved.