public class BooleanAsNumberOutputWriter extends Object implements OutputWriter
| Constructor and Description |
|---|
BooleanAsNumberOutputWriter() |
| Modifier and Type | Method and Description |
|---|---|
void |
doWrite(Server server,
Query query,
com.google.common.collect.ImmutableList<Result> results) |
Map<String,Object> |
getSettings()
Settings allow you to configure your Writers with whatever they might
need.
|
void |
setSettings(Map<String,Object> settings)
Settings allow you to configure your Writers with whatever they might
need.
|
void |
start() |
void |
stop() |
void |
validateSetup(Server server,
Query query)
This is run when the object is instantiated.
|
public void start()
throws LifecycleException
start in interface OutputWriterLifecycleExceptionpublic void stop()
throws LifecycleException
stop in interface OutputWriterLifecycleExceptionpublic void doWrite(Server server, Query query, com.google.common.collect.ImmutableList<Result> results) throws Exception
doWrite in interface OutputWriterExceptionpublic Map<String,Object> getSettings()
OutputWritergetSettings in interface OutputWriterpublic void setSettings(Map<String,Object> settings)
OutputWritersetSettings in interface OutputWriterpublic void validateSetup(Server server, Query query) throws ValidationException
OutputWritervalidateSetup in interface OutputWriterValidationExceptionCopyright © 2010-2015 JmxTrans team. All Rights Reserved.