Interface DBPoolViewMBean

All Known Implementing Classes:
DBPoolView

public interface DBPoolViewMBean
MBean for retrieving some statistics about the connection pool
  • Method Summary

    Modifier and Type
    Method
    Description
    Connection information as a string
    Data source name
    int
    Number of active connections
    int
    Number of idle connections
    void
    reset statistics
  • Method Details

    • getNumActive

      int getNumActive()
      Number of active connections
      Returns:
      int Number of active connections
    • getNumIdle

      int getNumIdle()
      Number of idle connections
      Returns:
      int Number of idle connections
    • getName

      String getName()
      Data source name
      Returns:
      String data source name
    • getConnectionUsage

      Map getConnectionUsage()
      Connection information as a string
      Returns:
      String representing connection information
    • reset

      void reset()
      reset statistics