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<java.lang.String> typeNames,
boolean booleanAsNumber,
java.lang.Boolean debugEnabled,
java.lang.String outputFile,
java.lang.String templateFile,
java.util.Map<java.lang.String,java.lang.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.
|
java.lang.String |
getOutputFile() |
java.lang.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 RRDWriter(com.google.common.collect.ImmutableList<java.lang.String> typeNames,
boolean booleanAsNumber,
java.lang.Boolean debugEnabled,
java.lang.String outputFile,
java.lang.String templateFile,
java.util.Map<java.lang.String,java.lang.Object> settings)
public void validateSetup(Server server, Query query) throws ValidationException
ValidationExceptionpublic void internalWrite(Server server, Query query, com.google.common.collect.ImmutableList<Result> results) throws java.lang.Exception
internalWrite in class BaseOutputWriterjava.lang.Exceptionprotected org.jrobin.core.RrdDb createOrOpenDatabase()
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getTemplateFile()
public java.lang.String getOutputFile()
Copyright © 2010-2017 JmxTrans team. All Rights Reserved.