Interface MethodCallStatisticsMXBean


  • @MXBean
    public interface MethodCallStatisticsMXBean
    Exposes statistics on method call timings and rates to JMX monitoring.
    • Method Detail

      • getCallCount

        long getCallCount()
        The total number of times that this method has been called since monitoring began.
      • getTimeUnit

        TimeUnit getTimeUnit()
        The units used for all time measurements.
      • getMinimumTime

        long getMinimumTime()
        The minimum time that this method took to execute.
      • getMaximumTime

        long getMaximumTime()
        The maximum time that this method took to execute. This is almost always the first call to the method due to classloading and compilation overheads.
      • getMeanTime

        double getMeanTime()
        The average (mean) time that this method took to execute. In most cases, the median and percentile distributions are a more accurate reflection of system performance as the mean is influenced by outliers which typically occur initially before JIT compilation has completed.
      • getStdDeviation

        double getStdDeviation()
        The standard deviation of the average execution time.
      • getMedianTime

        long getMedianTime()
        The median (50th percentile) time taken to execute this method. 50% of all requests completed within this time.
      • get75thPercentileTime

        long get75thPercentileTime()
        The 75th percentile execution time. 75% of all requests completed within this time.
      • get90thPercentileTime

        long get90thPercentileTime()
        The 90th percentile execution time. 90% of all requests completed within this time.
      • get95thPercentileTime

        long get95thPercentileTime()
        The 95th percentile execution time. 95% of all requests completed within this time.
      • get98thPercentileTime

        long get98thPercentileTime()
        The 98th percentile execution time. 98% of all requests completed within this time.
      • get99thPercentileTime

        long get99thPercentileTime()
        The 99th percentile execution time. 99% of all requests completed within this time.
      • get99Point9thPercentileTime

        long get99Point9thPercentileTime()
        The 99.9th percentile execution time. 99% of all requests completed within this time.
      • get99Point99thPercentileTime

        long get99Point99thPercentileTime()
        The 99.99th percentile execution time. 99.99% of all requests completed within this time.
      • getPercentileDump

        String getPercentileDump()
        Gets a raw summary dump of call time percentile distribution data, suitable for plotting.
      • getUpdateIntervalMillis

        long getUpdateIntervalMillis()
        The interval at which the implementation polls for updates from the underlying performance monitoring code, in milliseconds. A value of -1 indicates continuous monitoring.
      • setUpdateIntervalMillis

        void setUpdateIntervalMillis​(long intervalMillis)
        Sets the interval at which to poll for updates from the underlying performance monitoring framework.
        Parameters:
        intervalMillis - the update interval in milliseconds. Must be greater than 0.
      • reset

        void reset()
        Resets all statistics to zero.
      • getMonitoringStartTime

        Date getMonitoringStartTime()
        The timestamp at which monitoring began or the most recent call to reset().
      • getLastUpdateTime

        Date getLastUpdateTime()
        The timestamp at which the statistics were last updated.