Interface ConnectionPoolMXBean

All Known Implementing Classes:
JMXConnectionPool

@MXBean public interface ConnectionPoolMXBean
An interface for JMX Beans that monitor a JDBC connection pool.
Since:
10.2
Version:
10.3
Author:
Luke
  • Method Details

    • getUpdateTime

      Date getUpdateTime()
      The last update time.
      Returns:
      the update date/time
    • getRequests

      Long getRequests()
      Returns the number of requests since the last update.
      Returns:
      the number of connection pool requests
    • getSize

      Integer getSize()
      Returns the current size of the connection pool.
      Returns:
      the number of connections
    • getMaxBorrowTime

      Integer getMaxBorrowTime()
      Returns the length of the maximum connection borrow time since the last refresh.
      Returns:
      the borrow time in milliseconds
    • getMaxWaitTime

      Integer getMaxWaitTime()
      Returns the length of the maximum connection wait time since the last refresh.
      Returns:
      the wait time in milliseconds
    • getPoolInfo

      ConnectionMBean[] getPoolInfo()
      Returns a collection of connection information.
      Returns:
      a Collection of ConnectionMBeans