站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Java Platform, Enterprise Edition v1.4 API Specifications

JCAConnectionStats (Java 2 Platform Ent. Ed. v1.4) - Java Platform, Enterprise Edition v1.4 API Specifications

JavaTM 2 Platform
Ent. Ed. v1.4

javax.management.j2ee.statistics
Interface JCAConnectionStats

All Superinterfaces:
Stats
All Known Subinterfaces:
JCAConnectionPoolStats

public interface JCAConnectionStats
extends Stats

Specifies the statistics provided by a JCA connection


Method Summary
 String getConnectionFactory()
          Returns the associated JCAConnectionFactory OBJECT_NAME
 String getManagedConnectionFactory()
          Returns the associated JCAManagedConnectionFactory OBJECT_NAME
 TimeStatistic getUseTime()
          Returns the time spent using a connection
 TimeStatistic getWaitTime()
          Returns the 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 String getConnectionFactory()
Returns the associated JCAConnectionFactory OBJECT_NAME

Returns:
String the OBJECT_NAME of the managed object that identifies the connection factory for this connection

getManagedConnectionFactory

public String getManagedConnectionFactory()
Returns the associated JCAManagedConnectionFactory OBJECT_NAME

Returns:
String the OBJECT_NAME of the managed object that identifies the managed connection factory for this connection

getWaitTime

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

Returns:
TimeStatistic

getUseTime

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

Returns:
TimeStatistic

JavaTM 2 Platform
Ent. Ed. v1.4

Submit a bug or feature

Copyright 2003 Sun Microsystems, Inc. All rights reserved.