Package wt.rmi.jmx

Interface IncomingRmiStatsMonitorMBean

All Superinterfaces:
SelfEmailingMBean

public interface IncomingRmiStatsMonitorMBean extends SelfEmailingMBean
Exposes aggregate statistics for all incoming RMI requests.

Supported API: true

Extendable: true
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Interval (in seconds) between automatic calls to resetData() operation

    Supported API: true
    Statistics data as structured CompositeData

    Supported API: true
    Statistics data as an array of strings

    Supported API: true
    Name of logger this MBean uses for normal logging of data and errors; data output to this logger is controlled by the LogOnReset attribute

    Supported API: true
    Overall raw aggregate totals for incoming RMI calls; not impacted by resets

    Supported API: true
    Name of logger this MBean uses for structured data logging; structured data logging is only performed when the verbosity level of this logger is at least INFO
    boolean
    Whether data is logged (to logger indicated by LoggerName attribute) on invocations of resetData() operation

    Supported API: true
    void
    Reset collected data, starting aggregation of data afresh.
    void
    setAutoResetIntervalSeconds(int autoResetIntervalSeconds)
    Interval (in seconds) between automatic calls to resetData() operation

    Supported API: true
    void
    setLogOnReset(boolean logOnReset)
    Whether data is logged (to logger indicated by LoggerName attribute) on invocations of resetData() operation

    Supported API: true

    Methods inherited from interface wt.jmx.core.mbeans.SelfEmailingMBean

    emailThisMBean
  • Method Details

    • getAutoResetIntervalSeconds

      int getAutoResetIntervalSeconds()
      Interval (in seconds) between automatic calls to resetData() operation

      Supported API: true
    • setAutoResetIntervalSeconds

      void setAutoResetIntervalSeconds(int autoResetIntervalSeconds)
      Interval (in seconds) between automatic calls to resetData() operation

      Supported API: true
    • isLogOnReset

      boolean isLogOnReset()
      Whether data is logged (to logger indicated by LoggerName attribute) on invocations of resetData() operation

      Supported API: true
    • setLogOnReset

      void setLogOnReset(boolean logOnReset)
      Whether data is logged (to logger indicated by LoggerName attribute) on invocations of resetData() operation

      Supported API: true
    • getLoggerName

      String getLoggerName()
      Name of logger this MBean uses for normal logging of data and errors; data output to this logger is controlled by the LogOnReset attribute

      Supported API: true
    • getStructuredDataLoggerName

      String getStructuredDataLoggerName()
      Name of logger this MBean uses for structured data logging; structured data logging is only performed when the verbosity level of this logger is at least INFO

      For use by advanced log4j appenders and layouts like AsyncJDBCAppender and TSVLayout.

      Supported API: true

    • getRawTotals

      CompositeData getRawTotals() throws OpenDataException
      Overall raw aggregate totals for incoming RMI calls; not impacted by resets

      Supported API: true
      Throws:
      OpenDataException
    • getData

      Statistics data as structured CompositeData

      Supported API: true
      Throws:
      OpenDataException
    • getDataAsStrings

      String[] getDataAsStrings()
      Statistics data as an array of strings

      Supported API: true
    • resetData

      @MBeanOperationImpact(1) void resetData()
      Reset collected data, starting aggregation of data afresh. Logs data collected to this point when LogOnReset is true.

      Supported API: true