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


java.lang.Object
   uk.org.primrose.pool.core.PoolConfigImpl
      uk.org.primrose.pool.core.PoolData

All known Subclasses:   uk.org.primrose.pool.core.Pool,
PoolData
public class PoolData extends PoolConfigImpl (Code)

Inner Class :class PoolLock
Inner Class :class FailoverCutBack extends Thread

Field Summary
final public static  intCONNECTION_ACTIVE
    
final public static  intCONNECTION_DUMPED
    
final public static  intCONNECTION_INACTIVE
    
final public static  intON_CLOSE_SHOULD_DIE
    
final public static  intON_CLOSE_SHOULD_REUSE
    
final public static  intUNKNOWN_STATUS_CODE
    
 booleanbPoolHasBeenShutdown
    
 Vector<ConnectionHolder>connections
    
 FailoverCutBackfailoverCutBackObj
    
 PoolfailoverPoolObj
    
protected  longgid
    
protected  PoolLocklock
    
protected  Loggerlogger
    
 PoolMonitormonitor
    
protected  intnumberOfWaitingThreads
    
 booleanpoolAccessLocked
    
protected  inttotalConnectionsHandedOut
    


Method Summary
protected  StringgetInternalConnectionTransactionIsolation()
     Gets the default level for connection's isolation transaction level.
protected  StringgetInternalConnectionTransactionIsolation(int level)
     Gets the default level for connection's isolation transaction level.
public  intgetNumberOfWaitingThreads()
    
public static  StringgetStringStatus(int i)
    
public  intgetTotalConnectionsHandedOut()
    
public  intnumberOfActiveConnections()
    
public  intnumberOfFreeConnections()
    
protected  voidsetInternalConnectionTransactionIsolation(String sConnectionTransactionIsolation)
     Sets the default level for connection's isolation transaction level.
protected  voidsetUpLogger()
    

Field Detail
CONNECTION_ACTIVE
final public static int CONNECTION_ACTIVE(Code)



CONNECTION_DUMPED
final public static int CONNECTION_DUMPED(Code)



CONNECTION_INACTIVE
final public static int CONNECTION_INACTIVE(Code)



ON_CLOSE_SHOULD_DIE
final public static int ON_CLOSE_SHOULD_DIE(Code)



ON_CLOSE_SHOULD_REUSE
final public static int ON_CLOSE_SHOULD_REUSE(Code)



UNKNOWN_STATUS_CODE
final public static int UNKNOWN_STATUS_CODE(Code)



bPoolHasBeenShutdown
boolean bPoolHasBeenShutdown(Code)



connections
Vector<ConnectionHolder> connections(Code)



failoverCutBackObj
FailoverCutBack failoverCutBackObj(Code)



failoverPoolObj
Pool failoverPoolObj(Code)



gid
protected long gid(Code)



lock
protected PoolLock lock(Code)



logger
protected Logger logger(Code)



monitor
PoolMonitor monitor(Code)



numberOfWaitingThreads
protected int numberOfWaitingThreads(Code)



poolAccessLocked
boolean poolAccessLocked(Code)



totalConnectionsHandedOut
protected int totalConnectionsHandedOut(Code)





Method Detail
getInternalConnectionTransactionIsolation
protected String getInternalConnectionTransactionIsolation()(Code)
Gets the default level for connection's isolation transaction level.



getInternalConnectionTransactionIsolation
protected String getInternalConnectionTransactionIsolation(int level)(Code)
Gets the default level for connection's isolation transaction level.



getNumberOfWaitingThreads
public int getNumberOfWaitingThreads()(Code)
Get the number of waiting threads



getStringStatus
public static String getStringStatus(int i)(Code)
Get a string representation for the connection status/behaviour



getTotalConnectionsHandedOut
public int getTotalConnectionsHandedOut()(Code)
Get the total number of connections handed out by the pool



numberOfActiveConnections
public int numberOfActiveConnections()(Code)
Get the current number of active connections



numberOfFreeConnections
public int numberOfFreeConnections()(Code)
Get the current number of free connections



setInternalConnectionTransactionIsolation
protected void setInternalConnectionTransactionIsolation(String sConnectionTransactionIsolation)(Code)
Sets the default level for connection's isolation transaction level. This can only be set on startup - not during runtime.



setUpLogger
protected void setUpLogger()(Code)



Fields inherited from uk.org.primrose.pool.core.PoolConfigImpl
protected String adminEmail(Code)(Java Doc)
protected boolean bConnectionAutoCommit(Code)(Java Doc)
protected boolean bDumpConnectionOnSQLException(Code)(Java Doc)
protected boolean bQueueConnectionRequests(Code)(Java Doc)
protected boolean bRunPooledMode(Code)(Java Doc)
protected boolean bWaitForConnectionIfDatabaseIsDown(Code)(Java Doc)
protected String checkSQL(Code)(Java Doc)
protected String driverClass(Code)(Java Doc)
protected String driverURL(Code)(Java Doc)
protected String emailEvents(Code)(Java Doc)
protected String encryptionFileKey(Code)(Java Doc)
protected String failoverPool(Code)(Java Doc)
protected int iBase(Code)(Java Doc)
protected int iConnectionTransactionIsolation(Code)(Java Doc)
protected int iCycleConnections(Code)(Java Doc)
protected int iIdleTime(Code)(Java Doc)
protected int iKillActiveConnectionsOverAge(Code)(Java Doc)
protected int iNumberOfConnectionsToInitializeWith(Code)(Java Doc)
protected List<LoadRule> loadRules(Code)(Java Doc)
protected String log(Code)(Java Doc)
protected String logLevel(Code)(Java Doc)
protected String onExceptionCheckSQL(Code)(Java Doc)
protected String password(Code)(Java Doc)
protected String poolName(Code)(Java Doc)
protected String smtpMailExchangeServer(Code)(Java Doc)
protected String user(Code)(Java Doc)

Methods inherited from uk.org.primrose.pool.core.PoolConfigImpl
public String getAdminEmail()(Code)(Java Doc)
public String getBase()(Code)(Java Doc)
public String getCheckSQL()(Code)(Java Doc)
public String getConnectionAutoCommit()(Code)(Java Doc)
public String getConnectionTransactionIsolation()(Code)(Java Doc)
public String getCycleConnections()(Code)(Java Doc)
public String getDriverClass()(Code)(Java Doc)
public String getDriverURL()(Code)(Java Doc)
public String getDumpConnectionOnSQLException()(Code)(Java Doc)
public String getEmailEvents()(Code)(Java Doc)
public String getEncryptionFileKey()(Code)(Java Doc)
public String getFailoverPool()(Code)(Java Doc)
public String getIdleTime()(Code)(Java Doc)
public String getKillActiveConnectionsOverAge()(Code)(Java Doc)
public String getLog()(Code)(Java Doc)
public String getLogLevel()(Code)(Java Doc)
public String getNumberOfConnectionsToInitializeWith()(Code)(Java Doc)
public String getOnExceptionCheckSQL()(Code)(Java Doc)
public String getPassword()(Code)(Java Doc)
public String getPoolName()(Code)(Java Doc)
public String getQueueConnectionRequests()(Code)(Java Doc)
public String getRunPooledMode()(Code)(Java Doc)
public String getSmtpMailExchangeServer()(Code)(Java Doc)
public String getUser()(Code)(Java Doc)
public String getWaitForConnectionIfDatabaseIsDown()(Code)(Java Doc)
public void setAdminEmail(String adminEmail)(Code)(Java Doc)
public void setBase(String base)(Code)(Java Doc)
public void setCheckSQL(String checkSQL)(Code)(Java Doc)
public void setConnectionAutoCommit(String connectionAutoCommit)(Code)(Java Doc)
public void setConnectionTransactionIsolation(String connectionTransactionIsolation)(Code)(Java Doc)
public void setCycleConnections(String cycleConnections)(Code)(Java Doc)
public void setDriverClass(String driverClass)(Code)(Java Doc)
public void setDriverURL(String driverURL)(Code)(Java Doc)
public void setDumpConnectionOnSQLException(String dumpConnectionOnSQLException)(Code)(Java Doc)
public void setEmailEvents(String emailEvents)(Code)(Java Doc)
public void setEncryptionFileKey(String encryptionFileKey)(Code)(Java Doc)
public void setFailoverPool(String failoverPool)(Code)(Java Doc)
public void setIdleTime(String idleTime)(Code)(Java Doc)
public void setKillActiveConnectionsOverAge(String killActiveConnectionsOverAge)(Code)(Java Doc)
public void setLog(String log)(Code)(Java Doc)
public void setLogLevel(String logLevel)(Code)(Java Doc)
public void setNumberOfConnectionsToInitializeWith(String numberOfConnectionsToInitializeWith)(Code)(Java Doc)
public void setOnExceptionCheckSQL(String onExceptionCheckSQL)(Code)(Java Doc)
public void setPassword(String password)(Code)(Java Doc)
public void setPoolName(String poolName)(Code)(Java Doc)
public void setQueueConnectionRequests(String queueConnectionRequests)(Code)(Java Doc)
public void setRunPooledMode(String runPooledMode)(Code)(Java Doc)
public void setSmtpMailExchangeServer(String smtpMailExchangeServer)(Code)(Java Doc)
public void setUser(String user)(Code)(Java Doc)
public void setWaitForConnectionIfDatabaseIsDown(String waitForConnectionIfDatabaseIsDown)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

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