1 package javax.management.j2ee;
2
3 import javax.management.ObjectName;
4
5 /**
6 * Represents the statistics provided by a JDBC connection
7 *
8 * @author <a href="mailto:marc@jboss.org">Marc Fleury</a>
9 * @author <a href="mailto:andreas@jboss.org">Andreas Schaefer</a>
10 * @version $Revision: 1.1 $
11 *
12 * <p><b>Revisions:</b>
13 *
14 * <p><b>200112009 Andreas Schaefer:</b>
15 * <ul>
16 * <li> Adjustment to the new JBoss guide lines and also adjustments
17 * to the latest JSR-77 specification
18 * </ul>
19 **/
20 public interface JDBCConnectionStats
21 extends Stats
22 {
23 // Constants -----------------------------------------------------
24
25 // Public --------------------------------------------------------
26
27 /**
28 * @return The name of the managed object that identifies the JDBC data source
29 * for this connection.
30 **/
31 public ObjectName getJdbcDataSource();
32
33 /**
34 * @return The time spent waiting for a conection to be available
35 **/
36 public TimeStatistic getWaitTime();
37
38 /**
39 * @return The time spent using a connection
40 **/
41 public TimeStatistic getUseTime();
42
43 // Package protected ---------------------------------------------
44
45 // Protected -----------------------------------------------------
46
47 // Static inner classes -------------------------------------------------
48 }