|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.lib.management.javaee.ManagedObject org.ow2.jonas.lib.management.javaee.J2EEManagedObject org.ow2.jonas.resource.internal.mbean.JCAConnectionFactory
public class JCAConnectionFactory
MBean class for JCA Connection Factory Management
Field Summary |
---|
Fields inherited from class org.ow2.jonas.lib.management.javaee.J2EEManagedObject |
---|
J2EE_TYPE_APPLICATION, J2EE_TYPE_SERVER, NAME |
Fields inherited from class org.ow2.jonas.lib.management.javaee.ManagedObject |
---|
logger |
Constructor Summary | |
---|---|
JCAConnectionFactory(String objectName,
String jndiname,
String fileName,
Properties prop,
String description,
ConnectionManagerImpl cm)
Constructor |
Methods inherited from class org.ow2.jonas.lib.management.javaee.J2EEManagedObject |
---|
getObjectName, isEventProvider, isStateManageable, isStatisticsProvider, setEventProvider, setObjectName, setStateManageable, setStatisticsProvider |
Methods inherited from class org.ow2.jonas.lib.management.javaee.ManagedObject |
---|
sendNotification, sendReconfigNotification, sendSaveNotification, setModelMBean |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JCAConnectionFactory(String objectName, String jndiname, String fileName, Properties prop, String description, ConnectionManagerImpl cm)
objectName
- String of object namejndiname
- String of ConnectionFactoryprop
- Properties of the ConnectionFactorydescription
- String of ConnectionFactory descriptionMethod Detail |
---|
public String getDescription()
public String getJndiName()
public String getManagedConnectionFactory()
public Properties getProperties()
public void setManagedConnectionFactory(String managedConnectionFactoryObjectName)
managedConnectionFactoryObjectName
- String to setpublic boolean isJdbcConnSetUp()
public Integer getJdbcConnCheckLevel()
public void setJdbcConnCheckLevel(Integer level)
level
- connection levelpublic String getJdbcTestStatement()
public void setJdbcTestStatement(String test)
test
- SQL query for JDBC connections testpublic Integer getPstmtMax()
public void setPstmtMax(Integer size)
size
- the PrepareStatement cache max sizepublic Integer getConnMaxAge()
public void setConnMaxAge(Integer mn)
mn
- Connections maximum agepublic Integer getMaxSize()
public void setMaxSize(Integer max)
max
- maximum size of connection poolpublic Integer getMaxOpentime()
public void setMaxOpentime(Integer mn)
mn
- maximum opening time in minutes for connectionspublic Integer getMaxWaiters()
public void setMaxWaiters(Integer max)
max
- maximum nb of waiters allowedpublic Integer getMaxWaitTime()
public void setMaxWaitTime(Integer max)
max
- maximum time to wait for a connection, in secondspublic Integer getMinSize()
public Integer getInitSize()
public void setMinSize(Integer min)
min
- minimum size of connection poolpublic Integer getSamplingPeriod()
public void setSamplingPeriod(Integer i)
i
- sampling period for refresching pool statisticspublic Integer getConnectionFailures()
public Integer getConnectionLeaks()
public Integer getCurrentBusy()
public Integer getBusyMax()
public Integer getBusyMin()
public Integer getCurrentInTx()
public Integer getCurrentOpened()
public Integer getCurrentWaiters()
public Integer getOpenedCount()
public Integer getRejectedFull()
public Integer getRejectedOpen()
public Integer getRejectedOther()
public Integer getRejectedTimeout()
public Integer getServedOpen()
public Integer getWaiterCount()
public Integer getWaitersHigh()
public Integer getWaitersHighRecent()
public Long getWaitingHigh()
public Long getWaitingHighRecent()
public Long getWaitingTime()
public int[] getOpenedConnections(int seconds)
public int[] getOpenedConnections()
public Map getConnectionDetails(int connectionId)
public void forceCloseConnection(int connectionId)
public void setObservable(boolean observable)
public boolean isObservable()
protected long getSequenceNumber()
public String getFileName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |