Source Code Cross Referenced for ConnectionPoolStatisticsIF.java in  » Database-JDBC-Connection-Pool » proxool » org » logicalcobwebs » proxool » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database JDBC Connection Pool » proxool » org.logicalcobwebs.proxool 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


01:        /*
02:         * This software is released under a licence similar to the Apache Software Licence.
03:         * See org.logicalcobwebs.proxool.package.html for details.
04:         * The latest version is available at http://proxool.sourceforge.net
05:         */
06:        package org.logicalcobwebs.proxool;
07:
08:        import java.util.Date;
09:
10:        /**
11:         * This provides real time information about the pool. You can get this from
12:         * {@link ProxoolFacade#getConnectionPoolStatistics ProxoolFacade}.
13:         *
14:         * <pre>
15:         * String alias = "myPool";
16:         * ConnectionPoolStatisticsIF cps = ProxoolFacade.getConnectionPoolStatistics(alias);
17:         * </pre>
18:         *
19:         * @version $Revision: 1.6 $, $Date: 2005/10/02 12:32:02 $
20:         * @author billhorsman
21:         * @author $Author: billhorsman $ (current maintainer)
22:         */
23:        public interface ConnectionPoolStatisticsIF {
24:
25:            /**
26:             * The number of connections provided.
27:             * @return connectionsServedCount
28:             */
29:            long getConnectionsServedCount();
30:
31:            /**
32:             * The number of connections refused. Either because there was a problem
33:             * connecting to the database, or perhaps because the maximumConnectionCount
34:             * was reached.
35:             * @return connectionsRefusedCount
36:             */
37:            long getConnectionsRefusedCount();
38:
39:            /**
40:             * The number of connections currently in use.
41:             * @return activeConnectionCount
42:             */
43:            int getActiveConnectionCount();
44:
45:            /**
46:             * The number of connections that are available for use (doesn't include
47:             * active connections).
48:             * @return availableConnectionCount
49:             */
50:            int getAvailableConnectionCount();
51:
52:            /**
53:             * The number of connections that are neither active or available. Probably
54:             * because the house keeping thread is checking them.
55:             * @return offlineConnectionCount
56:             */
57:            int getOfflineConnectionCount();
58:
59:            /**
60:             * When this pool was started
61:             * @return dateStarted
62:             */
63:            Date getDateStarted();
64:
65:            long getConnectionCount();
66:        }
67:
68:        /*
69:         Revision history:
70:         $Log: ConnectionPoolStatisticsIF.java,v $
71:         Revision 1.6  2005/10/02 12:32:02  billhorsman
72:         Make connectionCount available to statistics
73:
74:         Revision 1.5  2003/03/03 11:11:57  billhorsman
75:         fixed licence
76:
77:         Revision 1.4  2003/01/15 12:01:21  billhorsman
78:         added getDateStarted() plus better doc
79:
80:         Revision 1.3  2002/12/15 19:21:42  chr32
81:         Changed @linkplain to @link (to preserve JavaDoc for 1.2/1.3 users).
82:
83:         Revision 1.2  2002/10/25 16:00:26  billhorsman
84:         added better class javadoc
85:
86:         Revision 1.1.1.1  2002/09/13 08:13:04  billhorsman
87:         new
88:
89:         Revision 1.6  2002/07/10 16:14:47  billhorsman
90:         widespread layout changes and move constants into ProxoolConstants
91:
92:         Revision 1.5  2002/07/02 11:19:08  billhorsman
93:         layout code and imports
94:
95:         Revision 1.4  2002/06/28 11:19:47  billhorsman
96:         improved doc
97:
98:         */
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.