1 package javax.management.j2ee;
2
3 /**
4 * Represents the statistics provided by a JDBC resource.
5 *
6 * @author <a href="mailto:marc@jboss.org">Marc Fleury</a>
7 * @author <a href="mailto:andreas@jboss.org">Andreas Schaefer</a>
8 * @version $Revision: 1.1 $
9 *
10 * <p><b>Revisions:</b>
11 *
12 * <p><b>200112009 Andreas Schaefer:</b>
13 * <ul>
14 * <li> Adjustment to the new JBoss guide lines and also adjustments
15 * to the latest JSR-77 specification
16 * </ul>
17 **/
18 public interface JDBCStats
19 extends Stats
20 {
21 // Constants -----------------------------------------------------
22
23 // Public --------------------------------------------------------
24
25 /**
26 * @return The list of JDBCConnectionStats that provide statistics about the nonpooled
27 * connections associated with the referencing JDBC resource statistics.
28 **/
29 public JDBCConnectionStats[] getConnections();
30
31 /**
32 * @return The list of JDBCConnectionPoolStats that provide statistics about the
33 * connection pools associated with the referencing JDBC resource statistics.
34 **/
35 public JDBCConnectionPoolStats[] getConnectionPools();
36
37 // Package protected ---------------------------------------------
38
39 // Protected -----------------------------------------------------
40
41 // Static inner classes -------------------------------------------------
42 }