Java EE 5 SDK

com.sun.appserv.management.monitor.statistics
Interface ConnectionPoolStats

All Superinterfaces:
Stats
All Known Subinterfaces:
AltJDBCConnectionPoolStats, ConnectorConnectionPoolStats

public interface ConnectionPoolStats
extends Stats

A Stats interface to represent the statistical data exposed by a Connection Pool. All the Connection Pool implementations should expose statistical data by implementing this interface.


Method Summary
 CountStatistic getAverageConnWaitTime()
          Indicates the average wait time of connections, before they are serviced by the connector connection pool
 RangeStatistic getConnRequestWaitTime()
          Indicates the longest, shortest wait times of connection requests.
 CountStatistic getNumConnAcquired()
           
 CountStatistic getNumConnCreated()
          indicates the number of connections that were created, since the last reset
 CountStatistic getNumConnDestroyed()
          indicates the number of connections that were destroyed, since the last reset
 CountStatistic getNumConnFailedValidation()
          represents the number of connections that failed validation
 RangeStatistic getNumConnFree()
           
 CountStatistic getNumConnNotSuccessfullyMatched()
          Indicates the number of connections that were rejected by the Managed Connection Factory during matching.
 CountStatistic getNumConnReleased()
           
 CountStatistic getNumConnSuccessfullyMatched()
          Indicates the number of connections that were successfully matched by the Managed Connection Factory.
 CountStatistic getNumConnTimedOut()
          represents the number of connection requests that timed out
 RangeStatistic getNumConnUsed()
          Statistic to represent the Connection Usage In addition to information about the number of connections being used currently, this also contains information about the Maximum number of connections that were used(High Watermark)
 CountStatistic getWaitQueueLength()
          Indicates the number of connection requests in the queue waiting to be serviced
 
Methods inherited from interface javax.management.j2ee.statistics.Stats
getStatistic, getStatisticNames, getStatistics
 

Method Detail

getNumConnUsed

RangeStatistic getNumConnUsed()
Statistic to represent the Connection Usage In addition to information about the number of connections being used currently, this also contains information about the Maximum number of connections that were used(High Watermark)

Returns:
RangeStatistic

getNumConnFree

RangeStatistic getNumConnFree()

getNumConnFailedValidation

CountStatistic getNumConnFailedValidation()
represents the number of connections that failed validation

Returns:
CountStatistic

getNumConnTimedOut

CountStatistic getNumConnTimedOut()
represents the number of connection requests that timed out

Returns:
CountStatistic

getAverageConnWaitTime

CountStatistic getAverageConnWaitTime()
Indicates the average wait time of connections, before they are serviced by the connector connection pool

Returns:
CountStatistic

getWaitQueueLength

CountStatistic getWaitQueueLength()
Indicates the number of connection requests in the queue waiting to be serviced

Returns:
CountStatistic

getConnRequestWaitTime

RangeStatistic getConnRequestWaitTime()
Indicates the longest, shortest wait times of connection requests. The current value indicates the wait time of the last request that was serviced by the pool.

Returns:
RangeStatistic

getNumConnCreated

CountStatistic getNumConnCreated()
indicates the number of connections that were created, since the last reset

Returns:
CountStatistic

getNumConnDestroyed

CountStatistic getNumConnDestroyed()
indicates the number of connections that were destroyed, since the last reset

Returns:
CountStatistic

getNumConnAcquired

CountStatistic getNumConnAcquired()

getNumConnReleased

CountStatistic getNumConnReleased()

getNumConnSuccessfullyMatched

CountStatistic getNumConnSuccessfullyMatched()
Indicates the number of connections that were successfully matched by the Managed Connection Factory.

Returns:
CountStatistic
Since:
9.0

getNumConnNotSuccessfullyMatched

CountStatistic getNumConnNotSuccessfullyMatched()
Indicates the number of connections that were rejected by the Managed Connection Factory during matching.

Returns:
CountStatistic
Since:
9.0

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.