| |
|
| org.objectweb.jonas.management.j2eemanagement.J2EEManagedObject org.objectweb.jonas.resource.JCAConnectionFactory
JCAConnectionFactory | public class JCAConnectionFactory extends J2EEManagedObject (Code) | | MBean class for JCA Connection Factory Management
author: Adriana Danes JSR 77 (J2EE Management Standard) |
JCAConnectionFactory | public JCAConnectionFactory(String objectName, String jndiname, String fileName, Properties prop, String description, ConnectionManagerImpl cm)(Code) | | Constructor
Parameters: objectName - String of object name Parameters: jndiname - String of ConnectionFactory Parameters: prop - Properties of the ConnectionFactory Parameters: description - String of ConnectionFactory description |
getBusyMax | public Integer getBusyMax()(Code) | | number of busy connections |
getBusyMin | public Integer getBusyMin()(Code) | | number of busy connections |
getConnMaxAge | public Integer getConnMaxAge()(Code) | | Connections maximum age |
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) | | return the description
String description |
getFileName | public String getFileName()(Code) | | Returns the fileName. |
getInitSize | public Integer getInitSize()(Code) | | initial size of connection pool |
getJdbcConnCheckLevel | public Integer getJdbcConnCheckLevel()(Code) | | JDBC connection checking level |
getJdbcTestStatement | public String getJdbcTestStatement()(Code) | | SQL query for JDBC connections test |
getJndiName | public String getJndiName()(Code) | | return the jndi name
String jndi name |
getManagedConnectionFactory | public String getManagedConnectionFactory()(Code) | | Return the ManagedConnectionFactory object name
String of ManagedConnectionFactory name |
getMaxOpentime | public Integer getMaxOpentime()(Code) | | maximum opening time of connections |
getMaxSize | public Integer getMaxSize()(Code) | | max maximum size of connection pool |
getMaxWaitTime | public Integer getMaxWaitTime()(Code) | | maximum time to wait for a connection, in seconds |
getMaxWaiters | public Integer getMaxWaiters()(Code) | | maximum nb of waiters allowed |
getMinSize | public Integer getMinSize()(Code) | | minimum size of connection pool |
getOpenedCount | public Integer getOpenedCount()(Code) | | number of opened physical JDBC connections |
getProperties | public Properties getProperties()(Code) | | return the ConnectionFactory Properties
Properties ConnectionFactory properties |
getPstmtMax | public Integer getPstmtMax()(Code) | | Returns the PrepareStatement cache max size |
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 |
getSamplingPeriod | public Integer getSamplingPeriod()(Code) | | sampling period for refresching pool statistics |
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 |
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. |
setConnMaxAge | public void setConnMaxAge(Integer mn)(Code) | | Parameters: mn - Connections maximum age |
setJdbcConnCheckLevel | public void setJdbcConnCheckLevel(Integer level)(Code) | | Sets the JDBC connection checking level
Parameters: level - connection level |
setJdbcTestStatement | public void setJdbcTestStatement(String test)(Code) | | Parameters: test - SQL query for JDBC connections test |
setManagedConnectionFactory | public void setManagedConnectionFactory(String managedConnectionFactoryObjectName)(Code) | | Set the ManagedConnectionFactory object name
Parameters: managedConnectionFactoryObjectName - String to set |
setMaxOpentime | public void setMaxOpentime(Integer mn)(Code) | | Parameters: mn - maximum opening time in minutes for connections |
setMaxSize | public void setMaxSize(Integer max)(Code) | | Parameters: max - maximum size of connection pool |
setMaxWaitTime | public void setMaxWaitTime(Integer max)(Code) | | Parameters: max - maximum time to wait for a connection, in seconds |
setMaxWaiters | public void setMaxWaiters(Integer max)(Code) | | Parameters: max - maximum nb of waiters allowed |
setMinSize | public void setMinSize(Integer min)(Code) | | MBean method allowing to set the minimum size of connection pool
Parameters: min - minimum size of connection pool |
setPstmtMax | public void setPstmtMax(Integer size)(Code) | | Parameters: size - the PrepareStatement cache max size |
setSamplingPeriod | public void setSamplingPeriod(Integer i)(Code) | | Parameters: i - sampling period for refresching pool statistics |
|
|
|