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(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) |
void preDestroy()
void preCollect()
throws IOException
IOExceptionvoid writeQueryResult(@Nonnull String metricName, @Nullable String metricType, @Nullable Object value) throws IOException
metricName - metricType - see Query.typevalue - IOExceptionvoid postCollect()
throws IOException
called after a serie of writes, typically at the end of a collection.
Useful with batch writers.
IOExceptionvoid writeInvocationResult(@Nonnull String invocationName, @Nullable Object value) throws IOException
IOExceptionCopyright © 2017. All Rights Reserved.