com.microfocus.cics.connector.spi.MFECIConnectionManager
Serializable, javax.resource.spi.ConnectionManager
public class MFECIConnectionManager
extends Object
implements javax.resource.spi.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 MFECIConnectionManager(ManagedConnectionPool.PoolParams poolParams, javax.resource.spi.ManagedConnectionFactory mcf)
Create a CobolConnectionManager.
poolParams | Pool parameters |
mcf | Managed Connection Factory instance |
public int setMinSize()
Set the minimum pool parameter size.
minSize | Minimum size. |
public int getMinSize()
Get the minimum pool parameter size.
public void setMaxSize(int maxSize)
Set the maximum pool parameter size.
maxSize | Maximum size. |
public int getMaxSize()
Get the maximum pool parameter size.
public void setBlockingTimeout(int blockingTimeout)
Set the blocking timeout.
blockingTimeout | The blocking timeout value. |
public int getBlockingTimeout()
Get the blocking timeout.
public void setIdleTimeout(long idleTimeout)
Set the idle timeout.
idleTimeout | The idle timeout value. |
public long getIdleTimeout()
Get the idle timeout.
public Object allocateConnection(javax.resource.spi.ManagedConnectionFactory mcf, javax.resource.spi.ConnectionRequestInfo info) throws javax.resource.ResourceException)
Allocate a connection.
mcf | Managed Connection Factory instance. |
info | Connection Request Info instance . |
public int getConnectionCount()
Get the connection count.