Package org.jmxtrans.agent
Class Invocation
java.lang.Object
org.jmxtrans.agent.Invocation
- All Implemented Interfaces:
Collector
public class Invocation extends java.lang.Object implements Collector
- Author:
- Cyrille Le Clerc
-
Field Summary
Fields Modifier and Type Field Description protected javax.management.ObjectNameobjectNameprotected java.lang.StringoperationNameprotected java.lang.Object[]paramsprotected java.lang.StringresultAliasprotected java.lang.String[]signatureprotected java.lang.Stringtype -
Constructor Summary
Constructors Constructor Description Invocation(java.lang.String objectName, java.lang.String operationName, java.lang.Object[] params, java.lang.String[] signature, java.lang.String resultAlias, java.lang.Integer collectInterval, java.lang.String type) -
Method Summary
Modifier and Type Method Description voidcollectAndExport(javax.management.MBeanServer mbeanServer, OutputWriter outputWriter)java.lang.IntegergetCollectIntervalOverrideOrNull()java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
objectName
@Nullable protected final javax.management.ObjectName objectName -
operationName
@Nonnull protected final java.lang.String operationName -
resultAlias
@Nullable protected final java.lang.String resultAlias -
type
@Nullable protected final java.lang.String type -
params
@Nonnull protected final java.lang.Object[] params -
signature
@Nonnull protected final java.lang.String[] signature
-
-
Constructor Details
-
Invocation
public Invocation(@Nullable java.lang.String objectName, @Nonnull java.lang.String operationName, @Nonnull java.lang.Object[] params, @Nonnull java.lang.String[] signature, @Nullable java.lang.String resultAlias, @Nullable java.lang.Integer collectInterval, @Nullable java.lang.String type)
-
-
Method Details
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
collectAndExport
- Specified by:
collectAndExportin interfaceCollector
-
getCollectIntervalOverrideOrNull
@Nullable public java.lang.Integer getCollectIntervalOverrideOrNull()
-