站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 management API Documentation 英文版文档

JCAConnectionStatsImpl (JBoss/Management API) - JBoss 3.2.7 management API Documentation 英文版文档


org.jboss.management.j2ee.statistics
Class JCAConnectionStatsImpl

java.lang.Object
  extended byorg.jboss.management.j2ee.statistics.StatsBase
      extended byorg.jboss.management.j2ee.statistics.JCAConnectionStatsImpl
All Implemented Interfaces:
javax.management.j2ee.statistics.JCAConnectionStats, Serializable, javax.management.j2ee.statistics.Stats
Direct Known Subclasses:
JCAConnectionPoolStatsImpl

public class JCAConnectionStatsImpl
extends StatsBase
implements javax.management.j2ee.statistics.JCAConnectionStats

Version:
$Revision: 1.1.2.1 $
Author:
Scott.Stark@jboss.org
See Also:
Serialized Form

Constructor Summary
JCAConnectionStatsImpl(javax.management.ObjectName cfName, javax.management.ObjectName mcfName)
           
JCAConnectionStatsImpl(javax.management.ObjectName cfName, javax.management.ObjectName mcfName, javax.management.j2ee.statistics.TimeStatistic waitTime, javax.management.j2ee.statistics.TimeStatistic useTime)
           
 
Method Summary
 javax.management.ObjectName getConnectionFactory()
           
 javax.management.ObjectName getManagedConnectionFactory()
           
 javax.management.j2ee.statistics.TimeStatistic getUseTime()
           
 javax.management.j2ee.statistics.TimeStatistic getWaitTime()
           
 
Methods inherited from class org.jboss.management.j2ee.statistics.StatsBase
addStatistic, getStatistic, getStatisticNames, getStatistics, reset, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.management.j2ee.statistics.Stats
getStatistic, getStatisticNames, getStatistics
 

Constructor Detail

JCAConnectionStatsImpl

public JCAConnectionStatsImpl(javax.management.ObjectName cfName,
                              javax.management.ObjectName mcfName)

JCAConnectionStatsImpl

public JCAConnectionStatsImpl(javax.management.ObjectName cfName,
                              javax.management.ObjectName mcfName,
                              javax.management.j2ee.statistics.TimeStatistic waitTime,
                              javax.management.j2ee.statistics.TimeStatistic useTime)
Method Detail

getConnectionFactory

public javax.management.ObjectName getConnectionFactory()
Specified by:
getConnectionFactory in interface javax.management.j2ee.statistics.JCAConnectionStats
Returns:
ObjectName of the Connection Factory

getManagedConnectionFactory

public javax.management.ObjectName getManagedConnectionFactory()
Specified by:
getManagedConnectionFactory in interface javax.management.j2ee.statistics.JCAConnectionStats
Returns:
ObjectName of the Managed Connection Factory

getWaitTime

public javax.management.j2ee.statistics.TimeStatistic getWaitTime()
Specified by:
getWaitTime in interface javax.management.j2ee.statistics.JCAConnectionStats
Returns:
The time spent waiting for a conection to be available

getUseTime

public javax.management.j2ee.statistics.TimeStatistic getUseTime()
Specified by:
getUseTime in interface javax.management.j2ee.statistics.JCAConnectionStats
Returns:
The time spent using a connection


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.