Package org.jmxtrans.agent
Class ConsoleOutputWriter
java.lang.Object
org.jmxtrans.agent.AbstractOutputWriter
org.jmxtrans.agent.ConsoleOutputWriter
- All Implemented Interfaces:
OutputWriter
public class ConsoleOutputWriter extends AbstractOutputWriter implements OutputWriter
- Author:
- Cyrille Le Clerc
-
Field Summary
Fields inherited from class org.jmxtrans.agent.AbstractOutputWriter
logger, SETTING_LOG_LEVEL, SETTING_LOG_LEVEL_DEFAULT_VALUE -
Constructor Summary
Constructors Constructor Description ConsoleOutputWriter() -
Method Summary
Modifier and Type Method Description voidpostConstruct(Map<String,String> settings)voidwriteInvocationResult(String invocationName, Object value)voidwriteQueryResult(String name, String type, Object value)Methods inherited from class org.jmxtrans.agent.AbstractOutputWriter
getDebugLevel, getInfoLevel, getTraceLevel, postCollect, preCollect, preDestroyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jmxtrans.agent.OutputWriter
postCollect, preCollect, preDestroy
-
Constructor Details
-
ConsoleOutputWriter
public ConsoleOutputWriter()
-
-
Method Details
-
postConstruct
- Specified by:
postConstructin interfaceOutputWriter- Overrides:
postConstructin classAbstractOutputWriter
-
writeQueryResult
- Specified by:
writeQueryResultin interfaceOutputWriter- Specified by:
writeQueryResultin classAbstractOutputWritertype- seeQuery.type
-
writeInvocationResult
public void writeInvocationResult(@Nonnull String invocationName, @Nullable Object value) throws IOException- Specified by:
writeInvocationResultin interfaceOutputWriter- Specified by:
writeInvocationResultin classAbstractOutputWriter- Throws:
IOException
-