com.ibm.di.server
Class ConnectorPool

java.lang.Object
  extended by com.ibm.di.server.ConnectorPool

public class ConnectorPool
extends Object


Constructor Summary
ConnectorPool(String aConnectorLibName, PoolDefConfig aPoolDefConfig, Log aLog)
           
 
Method Summary
 ConnectorInterface getConnector()
           
 ConnectorInterface getConnector(boolean aWaitOnExhausted)
           
 int getFreeConnectorsNum()
           
 String getName()
           
 PoolDefConfig getPoolConfig()
           
 int getSize()
           
 void initialize()
           
 void purge()
           
 void returnConnector(ConnectorInterface aConnector)
           
 void terminate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectorPool

public ConnectorPool(String aConnectorLibName,
                     PoolDefConfig aPoolDefConfig,
                     Log aLog)
              throws Exception
Throws:
Exception
Method Detail

initialize

public void initialize()
                throws Exception
Throws:
Exception

terminate

public void terminate()
               throws Exception
Throws:
Exception

getName

public String getName()

getSize

public int getSize()

getFreeConnectorsNum

public int getFreeConnectorsNum()

getPoolConfig

public PoolDefConfig getPoolConfig()

getConnector

public ConnectorInterface getConnector()
                                throws Exception
Throws:
Exception

getConnector

public ConnectorInterface getConnector(boolean aWaitOnExhausted)
                                throws Exception
Throws:
Exception

returnConnector

public void returnConnector(ConnectorInterface aConnector)
                     throws Exception
Throws:
Exception

purge

public void purge()