public class OutputWritersChain extends AbstractOutputWriter implements OutputWriter
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<OutputWriter> |
outputWriters |
logger, SETTING_LOG_LEVEL, SETTING_LOG_LEVEL_DEFAULT_VALUE| Constructor and Description |
|---|
OutputWritersChain() |
OutputWritersChain(java.util.List<OutputWriter> outputWriters) |
| Modifier and Type | Method and Description |
|---|---|
void |
postCollect()
called after a serie of writes, typically at the end of a collection.
|
void |
preCollect()
Called before metrics collection starts
|
void |
preDestroy() |
void |
writeInvocationResult(java.lang.String invocationName,
java.lang.Object value) |
void |
writeQueryResult(java.lang.String metricName,
java.lang.String type,
java.lang.Object value) |
getDebugLevel, getInfoLevel, getTraceLevel, postConstructclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpostConstructprotected final java.util.List<OutputWriter> outputWriters
public OutputWritersChain()
public OutputWritersChain(java.util.List<OutputWriter> outputWriters)
public void writeQueryResult(java.lang.String metricName,
java.lang.String type,
java.lang.Object value)
throws java.io.IOException
writeQueryResult in interface OutputWriterwriteQueryResult in class AbstractOutputWritertype - see Query.typejava.io.IOExceptionpublic void writeInvocationResult(java.lang.String invocationName,
java.lang.Object value)
throws java.io.IOException
writeInvocationResult in interface OutputWriterwriteInvocationResult in class AbstractOutputWriterjava.io.IOExceptionpublic void preDestroy()
preDestroy in interface OutputWriterpreDestroy in class AbstractOutputWriterpublic void postCollect()
throws java.io.IOException
OutputWritercalled after a serie of writes, typically at the end of a collection.
Useful with batch writers.
postCollect in interface OutputWriterpostCollect in class AbstractOutputWriterjava.io.IOExceptionpublic void preCollect()
throws java.io.IOException
OutputWriterpreCollect in interface OutputWriterpreCollect in class AbstractOutputWriterjava.io.IOExceptionCopyright © 2017. All Rights Reserved.