Package org.glassfish.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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getConnectionFactory()
Returns the associated JCAConnectionFactory OBJECT_NAMEString
getManagedConnectionFactory()
Returns the associated JCAManagedConnectionFactory OBJECT_NAMETimeStatistic
getUseTime()
Returns the time spent using a connectionTimeStatistic
getWaitTime()
Returns the time spent waiting for a connection to be available-
Methods inherited from interface org.glassfish.j2ee.statistics.Stats
getStatistic, getStatisticNames, getStatistics
-
-
-
-
Method Detail
-
getConnectionFactory
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
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
TimeStatistic getWaitTime()
Returns the time spent waiting for a connection to be available- Returns:
- TimeStatistic
-
getUseTime
TimeStatistic getUseTime()
Returns the time spent using a connection- Returns:
- TimeStatistic
-
-