org.jboss.management.j2ee.statistics
Class JCAConnectionStatsImpl
java.lang.Object
org.jboss.management.j2ee.statistics.StatsBase (src)
org.jboss.management.j2ee.statistics.JCAConnectionStatsImpl
- All Implemented Interfaces:
- JCAConnectionStats (src) , java.io.Serializable, Stats (src)
- Direct Known Subclasses:
- JCAConnectionPoolStatsImpl (src)
- public class JCAConnectionStatsImpl
- extends StatsBase (src)
- implements JCAConnectionStats (src)
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JCAConnectionStatsImpl
public JCAConnectionStatsImpl(java.lang.String cfName,
java.lang.String mcfName)
JCAConnectionStatsImpl
public JCAConnectionStatsImpl(java.lang.String cfName,
java.lang.String mcfName,
TimeStatistic (src) waitTime,
TimeStatistic (src) useTime)
getConnectionFactory
public java.lang.String getConnectionFactory()
- Description copied from interface:
JCAConnectionStats (src)
- Returns the associated JCAConnectionFactory OBJECT_NAME
- Specified by:
getConnectionFactory
in interface JCAConnectionStats (src)
- Returns:
- String the OBJECT_NAME of the managed object that identifies the connection factory for this connection getManagedConnectionFactory
getManagedConnectionFactory
public java.lang.String getManagedConnectionFactory()
- Description copied from interface:
JCAConnectionStats (src)
- Returns the associated JCAManagedConnectionFactory OBJECT_NAME
- Specified by:
getManagedConnectionFactory
in interface JCAConnectionStats (src)
- Returns:
- String the OBJECT_NAME of the managed object that identifies the managed connection factory for this connection getWaitTime
getWaitTime
public TimeStatistic (src) getWaitTime()
- Description copied from interface:
JCAConnectionStats (src)
- Returns the time spent waiting for a connection to be available
- Specified by:
getWaitTime
in interface JCAConnectionStats (src)
getUseTime
public TimeStatistic (src) getUseTime()
- Description copied from interface:
JCAConnectionStats (src)
- Returns the time spent using a connection
- Specified by:
getUseTime
in interface JCAConnectionStats (src)