public class SummarizingConsoleOutputWriter extends Object implements OutputWriter
PerMinuteSummarizerOutputWriter with the
ConsoleOutputWriter, this class hard-codes the wiring.| Constructor and Description |
|---|
SummarizingConsoleOutputWriter() |
| 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 |
preCollect()
Called before metrics collection starts
|
void |
preDestroy() |
void |
writeInvocationResult(String invocationName,
Object value) |
void |
writeQueryResult(String metricName,
String metricType,
Object value) |
public void postConstruct(@Nonnull Map<String,String> settings)
postConstruct in interface OutputWriterpublic void preDestroy()
preDestroy in interface OutputWriterpublic void preCollect()
throws IOException
OutputWriterpreCollect in interface OutputWriterIOExceptionpublic void writeQueryResult(@Nonnull String metricName, @Nullable String metricType, @Nullable Object value) throws IOException
writeQueryResult in interface OutputWritermetricType - 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 OutputWriterIOExceptionpublic void writeInvocationResult(@Nonnull String invocationName, @Nullable Object value) throws IOException
writeInvocationResult in interface OutputWriterIOExceptionCopyright © 2017. All Rights Reserved.