public class GraphiteWriter extends BaseOutputWriter
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ROOT_PREFIX |
BINARY_PATH, DEBUG, HOST, OUTPUT_FILE, PORT, TEMPLATE_FILE, TYPE_NAMES
Constructor and Description |
---|
GraphiteWriter()
Uses JmxUtils.getDefaultPoolMap()
|
Modifier and Type | Method and Description |
---|---|
void |
doWrite(Query query) |
void |
start()
If pool already started, just increase number of activeServers,
if it is not, start the pool and register it on JMX
|
void |
stop()
A do nothing method.
|
void |
validateSetup(Query query)
This is run when the object is instantiated.
|
addSetting, addTypeName, cleanupStr, getBooleanSetting, getBooleanSetting, getConcatedTypeNameValues, getIntegerSetting, getIntSetting, getSettings, getStringSetting, getTypeNames, isDebugEnabled, setObjectPoolMap, setSettings, setTypeNames
public static final java.lang.String ROOT_PREFIX
public void start() throws LifecycleException
start
in interface OutputWriter
start
in class BaseOutputWriter
LifecycleException
public void stop() throws LifecycleException
BaseOutputWriter
stop
in interface OutputWriter
stop
in class BaseOutputWriter
LifecycleException
public void validateSetup(Query query) throws ValidationException
OutputWriter
ValidationException
public void doWrite(Query query) throws java.lang.Exception
java.lang.Exception
Copyright © 2013 Jon Stevens and a gang of pencils. All Rights Reserved. Build version: 20130828-162948-517c4427f5