Java Doc for ConfigMonitor.java in  » Database-JDBC-Connection-Pool » SmartPool » org » smartlib » pool » core » 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 » SmartPool » org.smartlib.pool.core 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.smartlib.pool.core.ConfigMonitor

All known Subclasses:   org.smartlib.pool.core.PoolConfig,
ConfigMonitor
public interface ConfigMonitor (Code)
This interface defines the behavior of the class used to monitor the configuration of a pool. This interface defines the methods which can be used to monitor the runtime status of the pool configuration.
author:
   Sachin Shekar Shetty
version:
   1.0, 02/08/01




Method Summary
public  PoolConfig.ConnectionLoaderClass[]getConnectionLoaderClass()
    
public  PoolConfig.ConnectionString[]getConnectionString()
    
public  longgetConnectionWaitTimeOut()
     The maximum waiting period for a thread to get a Connection.
public  StringgetDefaultListener()
    
public  StringgetDriver()
    
public  intgetIncrement()
    
public  longgetLeakTimeOut()
    
public  longgetMaxConnectionIdleTime()
     This method returns the max-connection-idle-time value.
public  intgetMaxConnections()
    
public  intgetMaxConnectionsForRelease()
    
public  intgetMinConnections()
    
public  StringgetMultiPoolName()
    
public  StringgetPassword()
    
public  longgetPollThreadTime()
    
public  StringgetUserName()
    
public  StringgetValidatorQuery()
     This method returns the validatorQuery.
public  booleanisAllowAnonymousConnections()
    
public  booleanisAutoClose()
    
public  booleanisDefaultPool()
    
public  booleanisDetectLeaks()
    
public  booleanisThreadStickiness()
    
public  voidsetThreadStickiness(boolean threadStickiness)
    



Method Detail
getConnectionLoaderClass
public PoolConfig.ConnectionLoaderClass[] getConnectionLoaderClass()(Code)
The Connection loader class when external pooling is enabled.



getConnectionString
public PoolConfig.ConnectionString[] getConnectionString()(Code)
Connection string to connect to the database.



getConnectionWaitTimeOut
public long getConnectionWaitTimeOut()(Code)
The maximum waiting period for a thread to get a Connection. After this time interval, and ConnectionPoolException is thrown.



getDefaultListener
public String getDefaultListener()(Code)
Default listener class for connection leak.



getDriver
public String getDriver()(Code)
Driver name used to connect to database.



getIncrement
public int getIncrement()(Code)
Size of blocks of connections withdrawn at a time when no freeconnections are available.



getLeakTimeOut
public long getLeakTimeOut()(Code)
Time out for detecting leaks.



getMaxConnectionIdleTime
public long getMaxConnectionIdleTime()(Code)
This method returns the max-connection-idle-time value.



getMaxConnections
public int getMaxConnections()(Code)
Max connections allowed in the pool.



getMaxConnectionsForRelease
public int getMaxConnectionsForRelease()(Code)
Maximum number of free connections allowed after which excessive connections are released.



getMinConnections
public int getMinConnections()(Code)
Minimun connections in the pool.



getMultiPoolName
public String getMultiPoolName()(Code)
Name of the pool.



getPassword
public String getPassword()(Code)
Password to connect to the database.



getPollThreadTime
public long getPollThreadTime()(Code)
Poll time interval for thread detecting leaks and managing the pool size.



getUserName
public String getUserName()(Code)
Username to connect to the database.



getValidatorQuery
public String getValidatorQuery()(Code)
This method returns the validatorQuery. This query is run each time to check for its validity before the connection is leased out. validatorQuery



isAllowAnonymousConnections
public boolean isAllowAnonymousConnections()(Code)
True if anonymous connections are allowed, i.e without specifying the owner.



isAutoClose
public boolean isAutoClose()(Code)
True if automotic closing of Statement, PreparedStatement,CallableStatement is enabled.



isDefaultPool
public boolean isDefaultPool()(Code)
True if this pool is the default pool.



isDetectLeaks
public boolean isDetectLeaks()(Code)
True if connction leak monitoring is enabled.



isThreadStickiness
public boolean isThreadStickiness()(Code)
This method returns the thread stickiness value



setThreadStickiness
public void setThreadStickiness(boolean threadStickiness)(Code)
This method sets the thread stickiness value



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.