com.ibm.di.server
Class ConnectorPool
java.lang.Object
com.ibm.di.server.ConnectorPool
public class ConnectorPool
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectorPool
public ConnectorPool(String aConnectorLibName,
PoolDefConfig aPoolDefConfig,
Log aLog)
throws Exception
- Throws:
Exception
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()