Interface ConnectionPoolMonitor

All Superinterfaces:
Monitor
All Known Implementing Classes:
ObjectPoolMonitor

@MXBean public interface ConnectionPoolMonitor extends Monitor
Author:
matic
  • Field Details

    • NAME

      static final String NAME
  • Method Details

    • getName

      String getName()
      Returns the pool name
      Since:
      8.4
    • getConnectionCount

      int getConnectionCount()
    • getIdleConnectionCount

      int getIdleConnectionCount()
    • getBlockingTimeoutMilliseconds

      int getBlockingTimeoutMilliseconds()
    • getIdleTimeoutMinutes

      int getIdleTimeoutMinutes()
    • getActiveTimeoutMinutes

      int getActiveTimeoutMinutes()
      Returns the active timeout before the connection being killed.
      Since:
      8.4
    • getKilledActiveConnectionCount

      long getKilledActiveConnectionCount()
      Returns the current killed connection count
      Since:
      8.4
    • killActiveTimedoutConnections

      int killActiveTimedoutConnections()
      Kills active timed out connections in the pool. Returns the killed count.
      Since:
      8.4
    • reset

      void reset()
      Destroys the current connection manager and replace it by a new one
      Since:
      8.4