Package org.jmxtrans.agent.google
Class StackdriverWriter
java.lang.Object
org.jmxtrans.agent.AbstractOutputWriter
org.jmxtrans.agent.google.StackdriverWriter
- All Implemented Interfaces:
OutputWriter
public class StackdriverWriter extends AbstractOutputWriter implements OutputWriter
- Author:
- Evgeny Minkevich, Mitch Simpson
-
Field Summary
Fields inherited from class org.jmxtrans.agent.AbstractOutputWriter
logger, SETTING_LOG_LEVEL, SETTING_LOG_LEVEL_DEFAULT_VALUE -
Constructor Summary
Constructors Constructor Description StackdriverWriter() -
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
-
StackdriverWriter
public StackdriverWriter()
-
-
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
-