org.jboss.jca.core.api.connectionmanager.pool
Interface PoolStatistics

All Superinterfaces:
Serializable, StatisticsPlugin

public interface PoolStatistics
extends StatisticsPlugin

The pool statistics

Author:
Jesper Pedersen

Method Summary
 int getActiveCount()
          Get active count
 int getAvailableCount()
          Get the available count
 long getAverageBlockingTime()
          Get the average time spent waiting on a connection (milliseconds)
 long getAverageCreationTime()
          Get the average time spent creating a connection (milliseconds)
 int getCreatedCount()
          Get created count
 int getDestroyedCount()
          Get destroyed count
 long getMaxCreationTime()
          Get max creation time (milliseconds)
 int getMaxUsedCount()
          Get max used count
 int getMaxWaitCount()
          Get max wait count
 long getMaxWaitTime()
          Get max wait time (milliseconds)
 int getTimedOut()
          Get timed out
 long getTotalBlockingTime()
          Get the total time spent waiting on connections (milliseconds)
 long getTotalCreationTime()
          Get the total time spent creating connections (milliseconds)
 
Methods inherited from interface org.jboss.jca.core.spi.statistics.StatisticsPlugin
clear, getDescription, getDescription, getNames, getType, getValue, isEnabled, setEnabled
 

Method Detail

getActiveCount

int getActiveCount()
Get active count

Returns:
The value

getAvailableCount

int getAvailableCount()
Get the available count

Returns:
The value

getAverageBlockingTime

long getAverageBlockingTime()
Get the average time spent waiting on a connection (milliseconds)

Returns:
The value

getAverageCreationTime

long getAverageCreationTime()
Get the average time spent creating a connection (milliseconds)

Returns:
The value

getCreatedCount

int getCreatedCount()
Get created count

Returns:
The value

getDestroyedCount

int getDestroyedCount()
Get destroyed count

Returns:
The value

getMaxCreationTime

long getMaxCreationTime()
Get max creation time (milliseconds)

Returns:
The value

getMaxUsedCount

int getMaxUsedCount()
Get max used count

Returns:
The value

getMaxWaitCount

int getMaxWaitCount()
Get max wait count

Returns:
The value

getMaxWaitTime

long getMaxWaitTime()
Get max wait time (milliseconds)

Returns:
The value

getTimedOut

int getTimedOut()
Get timed out

Returns:
The value

getTotalBlockingTime

long getTotalBlockingTime()
Get the total time spent waiting on connections (milliseconds)

Returns:
The value

getTotalCreationTime

long getTotalCreationTime()
Get the total time spent creating connections (milliseconds)

Returns:
The value


Copyright © 2008 Red Hat Middleware LLC (http://www.jboss.com/)