Java Doc for JDBCDataSource.java in  » J2EE » JOnAS-4.8.6 » org » objectweb » jonas » dbm » 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 » J2EE » JOnAS 4.8.6 » org.objectweb.jonas.dbm 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.objectweb.jonas.management.j2eemanagement.J2EEManagedObject
   org.objectweb.jonas.dbm.JDBCDataSource

JDBCDataSource
public class JDBCDataSource extends J2EEManagedObject (Code)
MBean class for JDBCDataSource Management This MBean manages a connection manager and its associated pool. This couple represents the JOnAS data source implementation
author:
   Eric Hardesty JSR 77 (J2EE Management Standard)
author:
   Adriana Danes add support for persistent reconfiguration



Constructor Summary
public  JDBCDataSource(String objectName, ConnectionManager cm)
    

Method Summary
public  IntegergetBusyMax()
    
public  IntegergetBusyMin()
    
public  IntegergetConnectionFailures()
    
public  IntegergetConnectionLeaks()
    
public  IntegergetCurrentBusy()
    
public  IntegergetCurrentInTx()
    
public  IntegergetCurrentOpened()
    
public  IntegergetCurrentWaiters()
    
public  StringgetDescription()
    
public  IntegergetJdbcConnCheckLevel()
    
public  IntegergetJdbcConnMaxAge()
    
public  StringgetJdbcDriver()
    
public  IntegergetJdbcMaxConnPool()
    
public  IntegergetJdbcMaxOpenTime()
    
public  IntegergetJdbcMaxWaitTime()
    
public  IntegergetJdbcMaxWaiters()
    
public  IntegergetJdbcMinConnPool()
    
public  IntegergetJdbcPstmtMax()
    
public  IntegergetJdbcSamplingPeriod()
    
public  StringgetJdbcTestStatement()
    
public  StringgetJndiName()
    
public  StringgetMapperName()
    
public  StringgetName()
     Return the current data source name.
public  IntegergetOpenedCount()
    
public  IntegergetRejectedFull()
    
public  IntegergetRejectedOpen()
    
public  IntegergetRejectedOther()
    
public  IntegergetRejectedTimeout()
    
protected  longgetSequenceNumber()
    
public  IntegergetServedOpen()
    
public  StringgetUrl()
    
public  StringgetUserName()
    
public  StringgetUserPassword()
    
public  IntegergetWaiterCount()
    
public  IntegergetWaitersHigh()
    
public  IntegergetWaitersHighRecent()
    
public  LonggetWaitingHigh()
    
public  LonggetWaitingHighRecent()
    
public  LonggetWaitingTime()
    
public  voidsaveConfig()
    
public  voidsetJdbcConnCheckLevel(Integer level)
    
public  voidsetJdbcConnMaxAge(Integer mn)
    
public  voidsetJdbcDriver(String jdbcDriverObjectName)
    
public  voidsetJdbcMaxConnPool(Integer max)
    
public  voidsetJdbcMaxOpenTime(Integer mn)
    
public  voidsetJdbcMaxWaitTime(Integer max)
    
public  voidsetJdbcMaxWaiters(Integer max)
    
public  voidsetJdbcMinConnPool(Integer min)
    
public  voidsetJdbcPstmtMax(Integer max)
    
public  voidsetJdbcSamplingPeriod(Integer i)
    
public  StringsetJdbcTestStatement(String test)
    


Constructor Detail
JDBCDataSource
public JDBCDataSource(String objectName, ConnectionManager cm)(Code)

Parameters:
  objectName - This MBean's OBJECT_NAME
Parameters:
  cm - Associated ConnectionManager reference




Method Detail
getBusyMax
public Integer getBusyMax()(Code)
number of busy connections



getBusyMin
public Integer getBusyMin()(Code)
number of busy connections



getConnectionFailures
public Integer getConnectionFailures()(Code)
number of connection failures



getConnectionLeaks
public Integer getConnectionLeaks()(Code)
number of connection leaks



getCurrentBusy
public Integer getCurrentBusy()(Code)
number of busy connections



getCurrentInTx
public Integer getCurrentInTx()(Code)
number of connections used in transactions



getCurrentOpened
public Integer getCurrentOpened()(Code)
number of opened connections



getCurrentWaiters
public Integer getCurrentWaiters()(Code)
current number of connection waiters



getDescription
public String getDescription()(Code)
Description of this data source



getJdbcConnCheckLevel
public Integer getJdbcConnCheckLevel()(Code)
JDBC connection checking level



getJdbcConnMaxAge
public Integer getJdbcConnMaxAge()(Code)
JDBC connections maximum age



getJdbcDriver
public String getJdbcDriver()(Code)
The OBJECT_NAME of the associated JDBCDriver MBean



getJdbcMaxConnPool
public Integer getJdbcMaxConnPool()(Code)
max maximum size of JDBC connection pool



getJdbcMaxOpenTime
public Integer getJdbcMaxOpenTime()(Code)
maximum opening time of JDBC connections



getJdbcMaxWaitTime
public Integer getJdbcMaxWaitTime()(Code)
maximum time to wait for a connection, in seconds



getJdbcMaxWaiters
public Integer getJdbcMaxWaiters()(Code)
maximum nb of waiters allowed



getJdbcMinConnPool
public Integer getJdbcMinConnPool()(Code)
minimum size of connection pool



getJdbcPstmtMax
public Integer getJdbcPstmtMax()(Code)
PreparedStatement cache size



getJdbcSamplingPeriod
public Integer getJdbcSamplingPeriod()(Code)
sampling period for refresching pool statistics



getJdbcTestStatement
public String getJdbcTestStatement()(Code)
SQL query for JDBC connections test



getJndiName
public String getJndiName()(Code)
The JNDI name



getMapperName
public String getMapperName()(Code)
The mapper JORM for the database



getName
public String getName()(Code)
Return the current data source name. Returns the local attribute value (optimize call) - this value can't be changed, moreover, its used by private methods. The current data source name



getOpenedCount
public Integer getOpenedCount()(Code)
number of opened physical JDBC connections



getRejectedFull
public Integer getRejectedFull()(Code)
number of open calls that were rejected because too many waiters



getRejectedOpen
public Integer getRejectedOpen()(Code)
total number of open calls that were rejected



getRejectedOther
public Integer getRejectedOther()(Code)
number of open calls that were rejected by an unknown reason



getRejectedTimeout
public Integer getRejectedTimeout()(Code)
number of open calls that were rejected by timeout



getSequenceNumber
protected long getSequenceNumber()(Code)
Gets the sequence number for reconfiguration opeartions the sequence number for reconfiguration operations



getServedOpen
public Integer getServedOpen()(Code)
number of xa connection served



getUrl
public String getUrl()(Code)
The JDBC URL for the database



getUserName
public String getUserName()(Code)
The user name for connection to the database



getUserPassword
public String getUserPassword()(Code)
The password for connection to the database



getWaiterCount
public Integer getWaiterCount()(Code)
total number of waiters since datasource creation.



getWaitersHigh
public Integer getWaitersHigh()(Code)
Maximum number of waiters since datasource creation.



getWaitersHighRecent
public Integer getWaitersHighRecent()(Code)
Maximum nb of waiters in last sampling period



getWaitingHigh
public Long getWaitingHigh()(Code)
Maximum waiting time (millisec) since datasource creation.



getWaitingHighRecent
public Long getWaitingHighRecent()(Code)
Maximum waiting time (millisec) in last sampling period



getWaitingTime
public Long getWaitingTime()(Code)
Total waiting time (millisec) since datasource creation.



saveConfig
public void saveConfig()(Code)
save updated configuration



setJdbcConnCheckLevel
public void setJdbcConnCheckLevel(Integer level)(Code)
Sets the JDBC connection checking level
Parameters:
  level - connection level



setJdbcConnMaxAge
public void setJdbcConnMaxAge(Integer mn)(Code)

Parameters:
  mn - JDBC connections maximum age



setJdbcDriver
public void setJdbcDriver(String jdbcDriverObjectName)(Code)

Parameters:
  jdbcDriverObjectName - OBJECT_NAME of the associated JDBCDriver MBean



setJdbcMaxConnPool
public void setJdbcMaxConnPool(Integer max)(Code)

Parameters:
  max - maximum size of JDBC connection pool



setJdbcMaxOpenTime
public void setJdbcMaxOpenTime(Integer mn)(Code)

Parameters:
  mn - maximum opening time in minutes for JDBC connections



setJdbcMaxWaitTime
public void setJdbcMaxWaitTime(Integer max)(Code)

Parameters:
  max - maximum time to wait for a connection, in seconds



setJdbcMaxWaiters
public void setJdbcMaxWaiters(Integer max)(Code)

Parameters:
  max - maximum nb of waiters allowed



setJdbcMinConnPool
public void setJdbcMinConnPool(Integer min)(Code)
MBean method allowing to set the minimum size of connection pool
Parameters:
  min - minimum size of connection pool



setJdbcPstmtMax
public void setJdbcPstmtMax(Integer max)(Code)

Parameters:
  max - PreparedStatement cache size



setJdbcSamplingPeriod
public void setJdbcSamplingPeriod(Integer i)(Code)

Parameters:
  i - sampling period for refresching pool statistics



setJdbcTestStatement
public String setJdbcTestStatement(String test)(Code)

Parameters:
  test - SQL query for JDBC connection test the test statement if the test succeeded, an error message otherwise



Fields inherited from org.objectweb.jonas.management.j2eemanagement.J2EEManagedObject
final public static String J2EE_TYPE_APPLICATION(Code)(Java Doc)
final public static String J2EE_TYPE_SERVER(Code)(Java Doc)
final public static String NAME(Code)(Java Doc)

Methods inherited from org.objectweb.jonas.management.j2eemanagement.J2EEManagedObject
public String getObjectName()(Code)(Java Doc)
public boolean isEventProvider()(Code)(Java Doc)
public boolean isStateManageable()(Code)(Java Doc)
public boolean isStatisticsProvider()(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.