Source Code Cross Referenced for CommandIF.java in  » Database-JDBC-Connection-Pool » proxool » org » logicalcobwebs » dbscript » 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.dbscript 
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.dbscript;
07:
08:        /**
09:         * An SQL command to run.
10:         *
11:         * @version $Revision: 1.5 $, $Date: 2003/03/03 11:12:03 $
12:         * @author Bill Horsman (bill@logicalcobwebs.co.uk)
13:         * @author $Author: billhorsman $ (current maintainer)
14:         * @since Proxool 0.5
15:         */
16:        public interface CommandIF {
17:
18:            /**
19:             * The SQL statement to run
20:             * @return sql
21:             */
22:            String getSql();
23:
24:            /**
25:             * How many "threads" to simulate. See {@link org.logicalcobwebs.dbscript.Script} to see how
26:             * it actually implements thread-like behaviour.
27:             * @return load
28:             */
29:            int getLoad();
30:
31:            /**
32:             * The number of loops to perform. Each loop will run the {@link #getSql sql}
33:             * {@link #getLoad load} times.
34:             * @return loops
35:             */
36:            int getLoops();
37:
38:            /**
39:             * If true then errors that occur during this command are ignored silently
40:             * and do not stop the {@link org.logicalcobwebs.dbscript.Script script} running.
41:             * @return true if exceptions should be ignored
42:             */
43:            boolean isIgnoreException();
44:
45:            /**
46:             * If true then errors that occur during this command are logged as debug
47:             * messages but do not stop the {@link org.logicalcobwebs.dbscript.Script script} running.
48:             * @return true if exceptions should be logged
49:             */
50:            boolean isLogException();
51:
52:            /**
53:             * A convenient name to call this command to help logging.
54:             * @return name
55:             */
56:            String getName();
57:
58:        }
59:
60:        /*
61:         Revision history:
62:         $Log: CommandIF.java,v $
63:         Revision 1.5  2003/03/03 11:12:03  billhorsman
64:         fixed licence
65:
66:         Revision 1.4  2003/02/19 15:14:19  billhorsman
67:         fixed copyright (copy and paste error,
68:         not copyright change)
69:
70:         Revision 1.3  2002/11/09 15:58:54  billhorsman
71:         fix and added doc
72:
73:         Revision 1.2  2002/11/09 14:45:07  billhorsman
74:         now threaded and better exception handling
75:
76:         Revision 1.1  2002/11/06 21:07:42  billhorsman
77:         New interfaces to allow filtering of commands
78:
79:         */
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.