Package org.apache.synapse.commons.datasource

## Interface DBPoolViewMBean

- All Known Implementing Classes:
    `DBPoolView`

      public interface DBPoolViewMBean

  MBean for retrieving some statistics about the connection pool

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Map` | `getConnectionUsage()` | Connection information as a string
    `String` | `getName()` | Data source name
    `int` | `getNumActive()` | Number of active connections
    `int` | `getNumIdle()` | Number of idle connections
    `void` | `reset()` | reset statistics

- - ### Method Detail

    - #### 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