com.ibm.websphere.connectionpool.monitor

Interface ConnectionPoolStatsMXBean



  • public interface ConnectionPoolStatsMXBean
    Management interface for the MBean "WebSphere:type=ConnectionPoolStats". The Liberty profile makes this MBean available in its platform MBean server when the monitor-1.0 feature is enabled to allow monitoring of the connection pool.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      long getConnectionHandleCount()
      The number of connections that are in use, including multiple connections shared from a single managed connection.
      long getCreateCount()
      The total number of managed connections created since pool creation.
      long getDestroyCount()
      The total number of managed connections destroyed since pool creation.
      long getFreeConnectionCount()
      The number of managed connections in the free pool.
      double getInUseTime()
      The average time in milliseconds a connection is in use.
      com.ibm.websphere.monitor.jmx.StatisticsMeter getInUseTimeDetails()
      Retrieves StatisticMeter object of InUseTime detail, which provides statistical details on the connection in use time.
      long getManagedConnectionCount()
      The total number of managed connections in the free, shared, and unshared pools.
      double getWaitTime()
      The average waiting time in milliseconds until a connection is granted if a connection is not currently available.
      com.ibm.websphere.monitor.jmx.StatisticsMeter getWaitTimeDetails()
      Retrieves StatisticMeter object of WaitTime detail, which provides statistical details on the connection wait time.
    • Method Detail

      • getCreateCount

        long getCreateCount()
        The total number of managed connections created since pool creation.
      • getDestroyCount

        long getDestroyCount()
        The total number of managed connections destroyed since pool creation.
      • getConnectionHandleCount

        long getConnectionHandleCount()
        The number of connections that are in use, including multiple connections shared from a single managed connection.
      • getManagedConnectionCount

        long getManagedConnectionCount()
        The total number of managed connections in the free, shared, and unshared pools.
      • getWaitTime

        double getWaitTime()
        The average waiting time in milliseconds until a connection is granted if a connection is not currently available.
      • getWaitTimeDetails

        com.ibm.websphere.monitor.jmx.StatisticsMeter getWaitTimeDetails()
        Retrieves StatisticMeter object of WaitTime detail, which provides statistical details on the connection wait time.
        Returns:
        wait time details
      • getFreeConnectionCount

        long getFreeConnectionCount()
        The number of managed connections in the free pool.
      • getInUseTime

        double getInUseTime()
        The average time in milliseconds a connection is in use.
      • getInUseTimeDetails

        com.ibm.websphere.monitor.jmx.StatisticsMeter getInUseTimeDetails()
        Retrieves StatisticMeter object of InUseTime detail, which provides statistical details on the connection in use time.
        Returns:
        in use time details