1 package javax.management.j2ee;
2
3 import javax.management.ObjectName;
4
5 /**
6 * Represents the statistics provided by a JCA 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 JCAConnectionStats
21 extends Stats
22 {
23 // Constants -----------------------------------------------------
24
25 // Public --------------------------------------------------------
26
27 /**
28 * @return Object Name of the Connection Factory
29 **/
30 ObjectName getConnectionFactory();
31
32 /**
33 * @return object Name of the Managed Connection Factory
34 **/
35 Object getManagedConnectionFactory();
36
37 /**
38 * @return The time spent waiting for a conection to be available
39 **/
40 public TimeStatistic getWaitTime();
41
42 /**
43 * @return The time spent using a connection
44 **/
45 public TimeStatistic getUseTime();
46
47 // Package protected ---------------------------------------------
48
49 // Protected -----------------------------------------------------
50
51 // Static inner classes -------------------------------------------------
52 }