javax.management.j2ee.statistics
Interface JCAConnectionStats

All Superinterfaces:
Stats
All Known Subinterfaces:
JCAConnectionPoolStats

public interface JCAConnectionStats
extends Stats

The JCAConnectionStats interface specifies the statistics provided by a JCA connection.

Version:
$Revision: 1.1 $
Author:
Laurent Etiemble

Method Summary
 javax.management.ObjectName getConnectionFactory()
          Returns the JCAConnectionFactory OBJECT_NAME of the managed object that identifies the connector’s connection factory for this connection.
 javax.management.ObjectName getManagedConnectionFactory()
          Returns the JCAManagedConnectionFactory OBJECT_NAME of the managed object that identifies the connector’s managed connection factory for this connection.
 TimeStatistic getUseTime()
          Returns the time spent using a connection.
 TimeStatistic getWaitTime()
          Returns time spent waiting for a connection to be available.
 
Methods inherited from interface javax.management.j2ee.statistics.Stats
getStatistic, getStatisticNames, getStatistics
 

Method Detail

getConnectionFactory

public javax.management.ObjectName getConnectionFactory()
Returns the JCAConnectionFactory OBJECT_NAME of the managed object that identifies the connector’s connection factory for this connection.

Returns:
The connection factory

getManagedConnectionFactory

public javax.management.ObjectName getManagedConnectionFactory()
Returns the JCAManagedConnectionFactory OBJECT_NAME of the managed object that identifies the connector’s managed connection factory for this connection.

Returns:
The managed connection factory

getWaitTime

public TimeStatistic getWaitTime()
Returns time spent waiting for a connection to be available.

Returns:
The wait time

getUseTime

public TimeStatistic getUseTime()
Returns the time spent using a connection.

Returns:
The use time


Copyright © 2002-2003 EJTools Org.. All Rights Reserved.