public interface OutputWriter
| Modifier and Type | Method and Description |
|---|---|
void |
postCollect()
called after a serie of writes, typically at the end of a collection.
|
void |
postConstruct(java.util.Map<java.lang.String,java.lang.String> settings) |
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 metricType,
java.lang.Object value) |
void postConstruct(@Nonnull
java.util.Map<java.lang.String,java.lang.String> settings)
void preDestroy()
void preCollect()
throws java.io.IOException
java.io.IOExceptionvoid writeQueryResult(@Nonnull
java.lang.String metricName,
@Nullable
java.lang.String metricType,
@Nullable
java.lang.Object value)
throws java.io.IOException
metricName - metricType - see Query.typevalue - java.io.IOExceptionvoid postCollect()
throws java.io.IOException
called after a serie of writes, typically at the end of a collection.
Useful with batch writers.
java.io.IOExceptionvoid writeInvocationResult(@Nonnull
java.lang.String invocationName,
@Nullable
java.lang.Object value)
throws java.io.IOException
java.io.IOExceptionCopyright © 2019. All Rights Reserved.