public class CobolConnectionManager
extends Object
implements ConnectionManager, Serializable
See Also:
Serialized Form
Method Summary | |
---|---|
Object | allocateConnection(ManagedConnectionFactory mcf
ConnectionRequestInfo info
Allocate a connection. |
int |
getBlockingTimeout
Get the blocking timeout. |
int | getConnectionCount
Get the connection count. |
long | getIdleTimeout
Get the idle timeout. |
int | getMaxSize
Get the maximum pool parameter size. |
int | getMinSize
Get the minimum pool parameter size. |
void | setBlockingTimeout
Set the blocking timeout. |
void | setIdleTimeout
Set the idle timeout. |
void | setMaxSize
Set the maximum pool parameter size. |
void | setMinSize
Set the minimum pool parameter size. |
public CobolConnectionManager(com.microfocus.cobol.connector.spi.ManagedConnectionPool.PoolParams poolParams, ManagedConnectionFactory mcf)
Create a CobolConnectionManager.
public int getMinSize()
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)
Set the blocking timeout.
public int getBlockingTimeout()
Get the blocking timeout.
public void setIdleTimeout(long idleTimeout)
Set the idle timeout.
public long getIdleTimeout()
Get the idle timeout.
public Object allocateConnection(ManagedConnectionFactory mcf ConnectionRequestInfo info throws ResourceException)
Allocate a connection.
public int getConnectionCount()
Get the connection count.