Interface PoolStats


  • public interface PoolStats
    • Method Detail

      • getTotalCreated

        long getTotalCreated()
        Get the total number of pool objects created between the starting of the Pool and the call to getStats(). Does not include create errors.
        Returns:
        The total number of pool objects created
      • getTotalDestroyed

        long getTotalDestroyed()
        Get the total number of pool objects destroyed between the starting of the Pool and the call to getStats(). Includes lifecycle validation failures, disposes, and timed-out objects, but does not include destroy errors.
        Returns:
        The total number of pool objects destroyed
      • getTotalCreateErrors

        long getTotalCreateErrors()
        Get the total number of lifecycle create errors between the starting of the Pool and the call to getStats().
        Returns:
        The total number of create errors
      • getTotalDestroyErrors

        long getTotalDestroyErrors()
        Get the total number of lifecycle destroy errors between the starting of the Pool and the call to getStats().
        Returns:
        The total number of destroy errors
      • getCheckedOut1min

        double getCheckedOut1min()
        Get the number of pool objects checked out at the time of the call to getStats().
        Returns:
        The number of checked out pool objects
      • getCheckedOut5min

        double getCheckedOut5min()
      • getCheckedOut15min

        double getCheckedOut15min()
      • getMaxCheckedOut1min

        int getMaxCheckedOut1min()
      • getCheckedOutTimeAvg

        double getCheckedOutTimeAvg()
      • getCheckedOutTime50Pct

        double getCheckedOutTime50Pct()
      • getCheckedOutTime95Pct

        double getCheckedOutTime95Pct()
      • getCheckedOutTime99Pct

        double getCheckedOutTime99Pct()
      • getMaxPoolSize

        int getMaxPoolSize()
        Get the configured maximum pool size.
        Returns:
        The maximum pool size
      • getMinPoolSize

        int getMinPoolSize()
        Get the configured minimum pool size.
        Returns:
        The minimum pool size
      • getPoolSize

        int getPoolSize()
        Get the pool size at the time of the call to getStats().
        Returns:
        The pool size
      • getIdleCount

        int getIdleCount()
        Get the number of objects that are idle(not checked out) in the pool.
        Returns:
        The number of idle objects
      • getWaiters1min

        double getWaiters1min()
      • getWaiters5min

        double getWaiters5min()
      • getWaiters15min

        double getWaiters15min()
      • getWaitTimeAvg

        double getWaitTimeAvg()
        Get the average wait time to get a pooled object.
        Returns:
        The average wait time.
      • getWaitTime50Pct

        double getWaitTime50Pct()
        Get the 50 percentage wait time to get a pooled object.
        Returns:
        50 percentage wait time.
      • getWaitTime95Pct

        double getWaitTime95Pct()
        Get the 95 percentage wait time to get a pooled object.
        Returns:
        95 percentage wait time.
      • getWaitTime99Pct

        double getWaitTime99Pct()
        Get the 99 percentage wait time to get a pooled object.
        Returns:
        99 percentage wait time.