com.sun.enterprise.admin.monitor.stats
Interface ConnectionPoolStats

All Superinterfaces:
Stats
All Known Subinterfaces:
ConnectionFactoryStats, ConnectorConnectionPoolStats, JDBCConnectionPoolStats

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, for successful connection request attempts to the connector connection pool
 RangeStatistic getConnRequestWaitTime()
          Indicates the longest, shortest wait times of connection requests.
 CountStatistic getNumConnAcquired()
          indicates the number of logical EIS/JDBC connections that were acquired from the pool, since the last reset
 CountStatistic getNumConnCreated()
          indicates the number of physical EIS/JDBC connections that were created, since the last reset
 CountStatistic getNumConnDestroyed()
          indicates the number of physical EIS/JDBC connections that were destroyed , since the last reset
 CountStatistic getNumConnFailedValidation()
          represents the number of connections that failed validation
 RangeStatistic getNumConnFree()
          Indicates the number of free connections in the pool in addition to their high and low watermarks.
 CountStatistic getNumConnNotSuccessfullyMatched()
          Indicates the number of connections that were rejected by the Managed Connection Factory during matching.
 CountStatistic getNumConnReleased()
          indicates the number of logical EIS/JDBC connections that were released to the pool, since the last reset
 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 getNumPotentialConnLeak()
          Indicates the number of potential connection leaks
 CountStatistic getWaitQueueLength()
          Indicates the number of connection requests in the queue waiting to be serviced
 
Methods inherited from interface org.glassfish.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

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

getNumConnFree

RangeStatistic getNumConnFree()
Indicates the number of free connections in the pool in addition to their high and low watermarks.

Returns:
RangeStatistic

getAverageConnWaitTime

CountStatistic getAverageConnWaitTime()
Indicates the average wait time of connections, for successful connection request attempts to 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 physical EIS/JDBC connections that were created, since the last reset

Returns:
CountStatistic

getNumConnDestroyed

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

Returns:
CountStatistic

getNumConnAcquired

CountStatistic getNumConnAcquired()
indicates the number of logical EIS/JDBC connections that were acquired from the pool, since the last reset

Returns:
CountStatistic
Since:
8.1

getNumConnReleased

CountStatistic getNumConnReleased()
indicates the number of logical EIS/JDBC connections that were released to the pool, since the last reset

Returns:
CountStatistic
Since:
8.1

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

getNumPotentialConnLeak

CountStatistic getNumPotentialConnLeak()
Indicates the number of potential connection leaks

Returns:
CountStatistic
Since:
9.1


Copyright © 2012. All Rights Reserved.