Java Doc for JBossManagedConnectionPoolMBean.java in  » EJB-Server-JBoss-4.2.1 » connector » org » jboss » resource » connectionmanager » 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 » EJB Server JBoss 4.2.1 » connector » org.jboss.resource.connectionmanager 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.jboss.resource.connectionmanager.JBossManagedConnectionPoolMBean

All known Subclasses:   org.jboss.resource.connectionmanager.JBossManagedConnectionPool,
JBossManagedConnectionPoolMBean
public interface JBossManagedConnectionPoolMBean extends org.jboss.system.ServiceMBean(Code)
A JBossManagedConnectionPoolMBean.
author:
   Adrian Brock
author:
   Weston Price
version:
   $Revision: 59880 $


Field Summary
final public static  javax.management.ObjectNameOBJECT_NAME
    


Method Summary
 voidflush()
     The flush method puts all currently checked out connections on a list to be destroyed when returned and disposes of all current pooled connections.
 longgetAvailableConnectionCount()
    
public  booleangetBackGroundValidation()
    
public  longgetBackGroundValidationMinutes()
    
 intgetBlockingTimeoutMillis()
     The BlockingTimeoutMillis attribute indicates the maximum time to block while waiting for a connection before throwing an exception.
 intgetConnectionCount()
     Retrieve the connection count.
 intgetConnectionCreatedCount()
     Retrieve the connection created count.
 intgetConnectionDestroyedCount()
     Retrieve the destrooyed count.
 java.lang.StringgetCriteria()
     The Criteria attribute indicates if Subject (from security domain) or app supplied parameters (such as from getConnection(user, pw)) are used to distinguish connections in the pool.
 longgetIdleTimeoutMinutes()
     The IdleTimeoutMinutes attribute indicates the maximum time a connection may be idle before being closed.
 longgetInUseConnectionCount()
    
 javax.management.ObjectNamegetManagedConnectionFactoryName()
     ManagedConnectionFactoryName holds the ObjectName of the mbean that represents the ManagedConnectionFactory.
 org.jboss.resource.connectionmanager.ManagedConnectionPoolgetManagedConnectionPool()
     ManagedConnectionPool is a read only attribute returning the pool set up by this mbean.
 longgetMaxConnectionsInUseCount()
    
 intgetMaxSize()
     The MaxSize attribute indicates the maximum number of connections for a pool.
 intgetMinSize()
     The MinSize attribute indicates the minimum number of connections this pool should hold.
 booleangetNoTxSeparatePools()
    
public  StringgetPoolJndiName()
    
public  booleangetPreFill()
    
public  booleangetUseFastFail()
     Whether or not we want to immeadiately create a new connection when an attempt to acquire a connection from the pool fails.
public  voidsetBackGroundValidation(boolean backgroundValidation)
    
public  voidsetBackGroundValidationMinutes(long backgroundValidationInterval)
    
 voidsetBlockingTimeoutMillis(int newBlockingTimeout)
     Set the BlockingTimeout value.
 voidsetCriteria(java.lang.String newCriteria)
     Set the Criteria value.
 voidsetIdleTimeoutMinutes(long newIdleTimeoutMinutes)
     Set the IdleTimeoutMinutes value.
 voidsetManagedConnectionFactoryName(javax.management.ObjectName newManagedConnectionFactoryName)
     Set the ManagedConnectionFactoryName value.
 voidsetMaxSize(int newMaxSize)
     Set the MaxSize value.
 voidsetMinSize(int newMinSize)
     Set the MinSize value.
 voidsetNoTxSeparatePools(boolean value)
    
public  voidsetPoolJndiName(String poolName)
     Set the jndi name of the pool.
public  voidsetPreFill(boolean prefill)
    
public  voidsetUseFastFail(boolean useFastFail)
     Indicate whether or not we want to immeadiately create a new connection when an attempt to acquire a connection from the pool fails.

Field Detail
OBJECT_NAME
final public static javax.management.ObjectName OBJECT_NAME(Code)





Method Detail
flush
void flush()(Code)
The flush method puts all currently checked out connections on a list to be destroyed when returned and disposes of all current pooled connections.



getAvailableConnectionCount
long getAvailableConnectionCount()(Code)
Get number of available free connections number of available connections



getBackGroundValidation
public boolean getBackGroundValidation()(Code)
Get background validation true of false if background validation is enabled.



getBackGroundValidationMinutes
public long getBackGroundValidationMinutes()(Code)
Get the background validation in minutes the background validation in minutes



getBlockingTimeoutMillis
int getBlockingTimeoutMillis()(Code)
The BlockingTimeoutMillis attribute indicates the maximum time to block while waiting for a connection before throwing an exception. Note that this blocks only while waiting for a permit for a connection, and will never throw an exception if creating a new connection takes an inordinately long time. the BlockingTimeout value.



getConnectionCount
int getConnectionCount()(Code)
Retrieve the connection count. the connection count



getConnectionCreatedCount
int getConnectionCreatedCount()(Code)
Retrieve the connection created count. the connection created count



getConnectionDestroyedCount
int getConnectionDestroyedCount()(Code)
Retrieve the destrooyed count. the destroyed count



getCriteria
java.lang.String getCriteria()(Code)
The Criteria attribute indicates if Subject (from security domain) or app supplied parameters (such as from getConnection(user, pw)) are used to distinguish connections in the pool. Choices are ByContainerAndApplication (use both), ByContainer (use Subject), ByApplication (use app supplied params only), ByNothing (all connections are equivalent, usually if adapter supports reauthentication) the Criteria value.



getIdleTimeoutMinutes
long getIdleTimeoutMinutes()(Code)
The IdleTimeoutMinutes attribute indicates the maximum time a connection may be idle before being closed. The actual maximum time depends also on the IdleRemover scan time, which is 1/2 the smallest IdleTimeout of any pool. the IdleTimeoutMinutes value.



getInUseConnectionCount
long getInUseConnectionCount()(Code)
Get number of connections currently in use number of connections currently in use



getManagedConnectionFactoryName
javax.management.ObjectName getManagedConnectionFactoryName()(Code)
ManagedConnectionFactoryName holds the ObjectName of the mbean that represents the ManagedConnectionFactory. Normally this can be an embedded mbean in a depends element rather than a separate mbean reference. the ManagedConnectionFactoryName value.



getManagedConnectionPool
org.jboss.resource.connectionmanager.ManagedConnectionPool getManagedConnectionPool()(Code)
ManagedConnectionPool is a read only attribute returning the pool set up by this mbean. the ManagedConnectionPool implementing the pool configured by this mbean.



getMaxConnectionsInUseCount
long getMaxConnectionsInUseCount()(Code)



getMaxSize
int getMaxSize()(Code)
The MaxSize attribute indicates the maximum number of connections for a pool. No more than MaxSize connections will be created in each sub-pool. the MaxSize value.



getMinSize
int getMinSize()(Code)
The MinSize attribute indicates the minimum number of connections this pool should hold. These are not created until a Subject is known from a request for a connection. MinSize connections will be created for each sub-pool. the MinSize value.



getNoTxSeparatePools
boolean getNoTxSeparatePools()(Code)
Separate pools for transactional use true when connections should have different pools for transactional and non-transaction use.



getPoolJndiName
public String getPoolJndiName()(Code)
Get the jndi name of the pool the jndi name of the pool.



getPreFill
public boolean getPreFill()(Code)
Get prefill true or false depending upon prefill being set



getUseFastFail
public boolean getUseFastFail()(Code)
Whether or not we want to immeadiately create a new connection when an attempt to acquire a connection from the pool fails. true of false depending upon whether fast fail is being used.



setBackGroundValidation
public void setBackGroundValidation(boolean backgroundValidation)(Code)
Set the background validation
Parameters:
  backgroundValidation - true or false if background validation is to be enabled



setBackGroundValidationMinutes
public void setBackGroundValidationMinutes(long backgroundValidationInterval)(Code)
Set the background validation in minutes
Parameters:
  backgroundValidationInterval - the background interval in minutes



setBlockingTimeoutMillis
void setBlockingTimeoutMillis(int newBlockingTimeout)(Code)
Set the BlockingTimeout value.
Parameters:
  newBlockingTimeout - The new BlockingTimeout value.



setCriteria
void setCriteria(java.lang.String newCriteria)(Code)
Set the Criteria value.
Parameters:
  newCriteria - The new Criteria value.



setIdleTimeoutMinutes
void setIdleTimeoutMinutes(long newIdleTimeoutMinutes)(Code)
Set the IdleTimeoutMinutes value.
Parameters:
  newIdleTimeoutMinutes - The new IdleTimeoutMinutes value.



setManagedConnectionFactoryName
void setManagedConnectionFactoryName(javax.management.ObjectName newManagedConnectionFactoryName)(Code)
Set the ManagedConnectionFactoryName value.
Parameters:
  newManagedConnectionFactoryName - The new ManagedConnectionFactoryName value.



setMaxSize
void setMaxSize(int newMaxSize)(Code)
Set the MaxSize value.
Parameters:
  newMaxSize - The new MaxSize value.



setMinSize
void setMinSize(int newMinSize)(Code)
Set the MinSize value.
Parameters:
  newMinSize - The new MinSize value.



setNoTxSeparatePools
void setNoTxSeparatePools(boolean value)(Code)



setPoolJndiName
public void setPoolJndiName(String poolName)(Code)
Set the jndi name of the pool.
Parameters:
  poolName - the jndi name of the pool.



setPreFill
public void setPreFill(boolean prefill)(Code)
Set the prefill
Parameters:
  prefill - true or false depending upon if prefill is being used



setUseFastFail
public void setUseFastFail(boolean useFastFail)(Code)
Indicate whether or not we want to immeadiately create a new connection when an attempt to acquire a connection from the pool fails.
Parameters:
  useFastFail - whether or not we want to use fast fail semantics in a connection attempt.



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