Source Code Cross Referenced for StatisticsIF.java in  » Database-JDBC-Connection-Pool » proxool » org » logicalcobwebs » proxool » admin » 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.admin 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * This software is released under a licence similar to the Apache Software Licence.
003:         * See org.logicalcobwebs.proxool.package.html for details.
004:         * The latest version is available at http://proxool.sourceforge.net
005:         */
006:        package org.logicalcobwebs.proxool.admin;
007:
008:        import java.util.Date;
009:
010:        /**
011:         * Provides statistical performance information for a period ot
012:         * time.
013:         *
014:         * @version $Revision: 1.2 $, $Date: 2003/03/03 11:11:59 $
015:         * @author bill
016:         * @author $Author: billhorsman $ (current maintainer)
017:         * @since Proxool 0.7
018:         */
019:        public interface StatisticsIF {
020:
021:            /**
022:             * The length of time this sample represents,
023:             * @return period (milliseconds)
024:             */
025:            long getPeriod();
026:
027:            /**
028:             * The average time that each connection spent active.
029:             * @return averageActiveTime (milliseconds)
030:             */
031:            double getAverageActiveTime();
032:
033:            /**
034:             * The average number of active connections,
035:             * @return averageActiveCount
036:             */
037:            double getAverageActiveCount();
038:
039:            /**
040:             * The number of connections served during this sample.
041:             * @return servedCount
042:             */
043:            long getServedCount();
044:
045:            /**
046:             * The number of connections refused during this sample.
047:             * @return refusedCount
048:             */
049:            long getRefusedCount();
050:
051:            /**
052:             * When this sample started.
053:             * @return startDate
054:             * @see #getStopDate
055:             * @see #getPeriod
056:             */
057:            Date getStartDate();
058:
059:            /**
060:             * When this sample stopped
061:             * @return stopDate
062:             * @see #getStartDate
063:             * @see #getPeriod
064:             */
065:            Date getStopDate();
066:
067:            /**
068:             * The rate at which we have served connections
069:             * @return servedPerSecond
070:             */
071:            double getServedPerSecond();
072:
073:            /**
074:             * The rate at which we have refused connections
075:             * @return refusedPerSecond
076:             */
077:            double getRefusedPerSecond();
078:
079:        }
080:
081:        /*
082:         Revision history:
083:         $Log: StatisticsIF.java,v $
084:         Revision 1.2  2003/03/03 11:11:59  billhorsman
085:         fixed licence
086:
087:         Revision 1.1  2003/02/19 23:36:51  billhorsman
088:         renamed monitor package to admin
089:
090:         Revision 1.3  2003/01/31 16:53:23  billhorsman
091:         checkstyle
092:
093:         Revision 1.2  2003/01/31 16:38:54  billhorsman
094:         doc (and removing public modifier for classes where possible)
095:
096:         Revision 1.1  2003/01/31 11:35:57  billhorsman
097:         improvements to servlet (including connection details)
098:
099:         Revision 1.1  2003/01/30 17:20:12  billhorsman
100:         fixes, improvements and doc
101:
102:         */
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.