@MXBean public interface CommitStatsMXBean
MXBean interface for retrieving write Tx commit statistics.
Author:
Thomas Pantelis
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Clears the current stats to their defaults.
    Returns a string representing average commit time duration, in the appropriate scaled units.
    Returns a string representing the time duration of the longest commit, in the appropriate scaled units, along with the date/time that it occurred.
    Returns a string representing the time duration of the shortest commit, in the appropriate scaled units, along with the date/time that it occurred.
    long
    Returns the total number of commits that have occurred.
  • Method Details

    • getTotalCommits

      long getTotalCommits()
      Returns the total number of commits that have occurred.
      Returns:
      Returns the total number of commits that have occurred
    • getLongestCommitTime

      String getLongestCommitTime()
      Returns a string representing the time duration of the longest commit, in the appropriate scaled units, along with the date/time that it occurred.
      Returns:
      string
    • getShortestCommitTime

      String getShortestCommitTime()
      Returns a string representing the time duration of the shortest commit, in the appropriate scaled units, along with the date/time that it occurred.
      Returns:
      string
    • getAverageCommitTime

      String getAverageCommitTime()
      Returns a string representing average commit time duration, in the appropriate scaled units.
      Returns:
      string
    • clearStats

      void clearStats()
      Clears the current stats to their defaults.