Package org.jmxtrans.agent
Class DevNullOutputWriter
java.lang.Object
org.jmxtrans.agent.AbstractOutputWriter
org.jmxtrans.agent.DevNullOutputWriter
- All Implemented Interfaces:
OutputWriter
public class DevNullOutputWriter extends AbstractOutputWriter
- 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 DevNullOutputWriter() -
Method Summary
Modifier and Type Method Description voidwriteInvocationResult(java.lang.String invocationName, java.lang.Object value)voidwriteQueryResult(java.lang.String name, java.lang.String type, java.lang.Object value)Methods inherited from class org.jmxtrans.agent.AbstractOutputWriter
getDebugLevel, getInfoLevel, getTraceLevel, postCollect, postConstruct, preCollect, preDestroyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
DevNullOutputWriter
public DevNullOutputWriter()
-
-
Method Details
-
writeQueryResult
public void writeQueryResult(@Nonnull java.lang.String name, @Nullable java.lang.String type, @Nullable java.lang.Object value)- Specified by:
writeQueryResultin interfaceOutputWriter- Specified by:
writeQueryResultin classAbstractOutputWritertype- seeQuery.type
-
writeInvocationResult
public void writeInvocationResult(@Nonnull java.lang.String invocationName, @Nullable java.lang.Object value) throws java.io.IOException- Specified by:
writeInvocationResultin interfaceOutputWriter- Specified by:
writeInvocationResultin classAbstractOutputWriter- Throws:
java.io.IOException
-