Interface TransactionManagerMBean

All Superinterfaces:
QBean, QBeanSupportMBean, QPersist
All Known Implementing Classes:
TransactionManager

JMX management interface exposing the TransactionManager's queue counters and TPS (transactions-per-second) metrics.
  • Method Details

    • getHead

      long getHead()
      Returns the current head index of the transaction queue.
      Returns:
      queue head index
    • getTail

      long getTail()
      Returns the current tail index of the transaction queue.
      Returns:
      queue tail index
    • getOutstandingTransactions

      Returns the number of in-flight transactions (tail - head).
      Returns:
      outstanding transaction count
    • getActiveSessions

      Returns the number of session threads currently processing transactions.
      Returns:
      live session count
    • getMaxSessions

      Returns the configured maximum number of concurrent session threads.
      Returns:
      maximum session count
    • getTPSAsString

      Returns a human-readable summary of TPS statistics.
      Returns:
      TPS snapshot suitable for diagnostics
    • getTPSAvg

      float getTPSAvg()
      Returns the average transactions-per-second since the last reset.
      Returns:
      mean TPS
    • getTPSPeak

      int getTPSPeak()
      Returns the peak transactions-per-second observed since the last reset.
      Returns:
      peak TPS
    • getTPSPeakWhen

      Returns the wall-clock instant at which getTPSPeak() was reached.
      Returns:
      timestamp of the TPS peak, or null if not yet observed
    • getTPSElapsed

      Returns the elapsed time in milliseconds covered by the current TPS window.
      Returns:
      elapsed window in milliseconds
    • resetTPS

      void resetTPS()
      Resets the TPS counters and start time.