Interface ConnectionPoolStatisticsIF


  • public interface ConnectionPoolStatisticsIF
    This provides real time information about the pool. You can get this from ProxoolFacade.
     String alias = "myPool";
     ConnectionPoolStatisticsIF cps = ProxoolFacade.getConnectionPoolStatistics(alias);
     
    Version:
    $Revision: 1.6 $, $Date: 2005/10/02 12:32:02 $
    Author:
    billhorsman, $Author: billhorsman $ (current maintainer)
    • Method Detail

      • getConnectionsServedCount

        long getConnectionsServedCount()
        The number of connections provided.
        Returns:
        connectionsServedCount
      • getConnectionsRefusedCount

        long getConnectionsRefusedCount()
        The number of connections refused. Either because there was a problem connecting to the database, or perhaps because the maximumConnectionCount was reached.
        Returns:
        connectionsRefusedCount
      • getActiveConnectionCount

        int getActiveConnectionCount()
        The number of connections currently in use.
        Returns:
        activeConnectionCount
      • getAvailableConnectionCount

        int getAvailableConnectionCount()
        The number of connections that are available for use (doesn't include active connections).
        Returns:
        availableConnectionCount
      • getOfflineConnectionCount

        int getOfflineConnectionCount()
        The number of connections that are neither active or available. Probably because the house keeping thread is checking them.
        Returns:
        offlineConnectionCount
      • getDateStarted

        java.util.Date getDateStarted()
        When this pool was started
        Returns:
        dateStarted
      • getConnectionCount

        long getConnectionCount()