org.objectweb.speedo.jmx.mbeans
Class Connection

java.lang.Object
  extended byorg.objectweb.speedo.jmx.mbeans.Connection
All Implemented Interfaces:
ConnectionMBean

public class Connection
extends java.lang.Object
implements ConnectionMBean

Author:
S.Chassande-Barrioz

Constructor Summary
Connection(org.objectweb.perseus.pool.api.PoolAttributes pa, org.objectweb.perseus.pool.api.Pool pool, ProxyManagerFactory pmf)
           
 
Method Summary
 java.lang.String getConnectionFactoryName()
           
 java.lang.String getJDBC_Connection_DriverClass()
           
 java.lang.String getJDBC_Connection_MapperName()
           
 java.lang.String getJDBC_Connection_URL()
           
 java.lang.String getJDBC_Connection_User()
           
 int getPool_Of_Connection_Current_Free_Number()
           
 int getPool_Of_Connection_Current_Size()
           
 int getPool_Of_Connection_Current_Used_Number()
           
 int getPool_Of_Connection_MaxSize()
           
 int getPool_Of_Connection_MinSize()
           
 long getPool_Of_Connection_Timeout()
           
 long getPool_Of_Connection_TTL()
           
 java.util.Collection getPool_Of_Connection_User()
           
 void setPool_Of_Connection_MaxSize(int arg0)
           
 void setPool_Of_Connection_MinSize(int arg0)
           
 void setPool_Of_Connection_Timeout(long arg0)
           
 void setPool_Of_Connection_TTL(long arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Connection

public Connection(org.objectweb.perseus.pool.api.PoolAttributes pa,
                  org.objectweb.perseus.pool.api.Pool pool,
                  ProxyManagerFactory pmf)
Method Detail

getPool_Of_Connection_MaxSize

public int getPool_Of_Connection_MaxSize()
Specified by:
getPool_Of_Connection_MaxSize in interface ConnectionMBean

setPool_Of_Connection_MaxSize

public void setPool_Of_Connection_MaxSize(int arg0)
                                   throws java.lang.Exception
Specified by:
setPool_Of_Connection_MaxSize in interface ConnectionMBean
Throws:
java.lang.Exception

getPool_Of_Connection_MinSize

public int getPool_Of_Connection_MinSize()
Specified by:
getPool_Of_Connection_MinSize in interface ConnectionMBean

setPool_Of_Connection_MinSize

public void setPool_Of_Connection_MinSize(int arg0)
                                   throws java.lang.Exception
Specified by:
setPool_Of_Connection_MinSize in interface ConnectionMBean
Throws:
java.lang.Exception

getPool_Of_Connection_Timeout

public long getPool_Of_Connection_Timeout()
Specified by:
getPool_Of_Connection_Timeout in interface ConnectionMBean

setPool_Of_Connection_Timeout

public void setPool_Of_Connection_Timeout(long arg0)
Specified by:
setPool_Of_Connection_Timeout in interface ConnectionMBean

getPool_Of_Connection_TTL

public long getPool_Of_Connection_TTL()
Specified by:
getPool_Of_Connection_TTL in interface ConnectionMBean

setPool_Of_Connection_TTL

public void setPool_Of_Connection_TTL(long arg0)
Specified by:
setPool_Of_Connection_TTL in interface ConnectionMBean

getPool_Of_Connection_Current_Size

public int getPool_Of_Connection_Current_Size()
Specified by:
getPool_Of_Connection_Current_Size in interface ConnectionMBean

getPool_Of_Connection_Current_Free_Number

public int getPool_Of_Connection_Current_Free_Number()
Specified by:
getPool_Of_Connection_Current_Free_Number in interface ConnectionMBean

getPool_Of_Connection_Current_Used_Number

public int getPool_Of_Connection_Current_Used_Number()
Specified by:
getPool_Of_Connection_Current_Used_Number in interface ConnectionMBean

getPool_Of_Connection_User

public java.util.Collection getPool_Of_Connection_User()
Specified by:
getPool_Of_Connection_User in interface ConnectionMBean

getConnectionFactoryName

public java.lang.String getConnectionFactoryName()
Specified by:
getConnectionFactoryName in interface ConnectionMBean

getJDBC_Connection_DriverClass

public java.lang.String getJDBC_Connection_DriverClass()
Specified by:
getJDBC_Connection_DriverClass in interface ConnectionMBean

getJDBC_Connection_URL

public java.lang.String getJDBC_Connection_URL()
Specified by:
getJDBC_Connection_URL in interface ConnectionMBean

getJDBC_Connection_User

public java.lang.String getJDBC_Connection_User()
Specified by:
getJDBC_Connection_User in interface ConnectionMBean

getJDBC_Connection_MapperName

public java.lang.String getJDBC_Connection_MapperName()
Specified by:
getJDBC_Connection_MapperName in interface ConnectionMBean