JCAConnectionStats (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.management.j2ee.statistics Interface JCAConnectionStats

所有父接口:
Stats
所有已知子接口:
JCAConnectionPoolStats

public interface JCAConnectionStats
extends Stats

Specifies the statistics provided by a JCA connection


方法摘要
 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
 

方法详细信息

getConnectionFactory

String getConnectionFactory()
Returns the associated JCAConnectionFactory OBJECT_NAME

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

getManagedConnectionFactory

String getManagedConnectionFactory()
Returns the associated JCAManagedConnectionFactory OBJECT_NAME

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

getWaitTime

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

返回:
TimeStatistic

getUseTime

TimeStatistic getUseTime()
Returns the time spent using a connection

返回:
TimeStatistic

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.