public class CobolConnectionManager
extends Object
implements ConnectionManager, Serializable
Method Summary | |
---|---|
Object | allocateConnection(ManagedConnectionFactory mcf ConnectionRequestInfo info |
int | getBlockingTimeout |
int | getConnectionCount |
long | getIdleTimeout |
int | getMaxSize |
int | getMinSize |
void | setBlockingTimeout |
void | setIdleTimeout |
void | setMaxSize |
void | setMinSize |
public CobolConnectionManager(com.microfocus.cobol.connector.spi.ManagedConnectionPool.PoolParams
poolParams, ManagedConnectionFactory mcf)
Create a CobolConnectionManager.
public int setMinSize()
Set the minimum pool parameter size.
public int getMinSize()
Get the minimum pool parameter size.
public void setMaxSize(int maxSize)
Set the maximum pool parameter size.
public int getMaxSize()
Get the maximum pool parameter size.
public void setBlockingTimeout(int blockingTimeout)
public int getBlockingTimeout()
public void setIdleTimeout(long idleTimeout)
public long getIdleTimeout()
public Object allocateConnection(ManagedConnectionFactory mcf ConnectionRequestInfo info throws ResourceException)
public int getConnectionCount()