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.ObjectName objectName  
    protected java.lang.String operationName  
    protected java.lang.Object[] params  
    protected java.lang.String resultAlias  
    protected java.lang.String[] signature  
    protected java.lang.String type  
  • 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
    void collectAndExport​(javax.management.MBeanServer mbeanServer, OutputWriter outputWriter)  
    java.lang.Integer getCollectIntervalOverrideOrNull()  
    java.lang.String toString()  

    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:
      toString in class java.lang.Object
    • collectAndExport

      public void collectAndExport​(javax.management.MBeanServer mbeanServer, OutputWriter outputWriter)
      Specified by:
      collectAndExport in interface Collector
    • getCollectIntervalOverrideOrNull

      @Nullable public java.lang.Integer getCollectIntervalOverrideOrNull()