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(String invocationName, Object value)voidwriteQueryResult(String name, String type, Object value)Methods inherited from class org.jmxtrans.agent.AbstractOutputWriter
getDebugLevel, getInfoLevel, getTraceLevel, postCollect, postConstruct, preCollect, preDestroy
-
Constructor Details
-
DevNullOutputWriter
public DevNullOutputWriter()
-
-
Method Details
-
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
-