The GatewayConnectionPool type exposes the following members.

Constructors

  NameDescription
Public methodGatewayConnectionPool(String, Int32)
Creates a new connection pool with default connection pool properties.
Public methodGatewayConnectionPool(String, Int32, ConnectionPoolProperties)
Creates a new connection pool with the specified connection pool properties.

Methods

  NameDescription
Public methodClose()()()()
Closes all connections in this connection pool.
Public methodClose(Int32)
Closes all connections in this connection pool, optionally waiting for allocated connections to be returned to the pool.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetConnection()()()()
Acquires a connection from the connection pool.
Public methodGetConnection(Int32)
Acquires a connection from the connection pool, with a specified timeout period.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyAgedTimeout
Gets the maximum time that connections can remain open in the connection pool.
Public propertyApplid
Gets the client APPLID used for transaction tracking by connections in this pool.
Public propertyApplidQualifier
Gets the client APPLID qualifier used for transaction tracking by connections in this pool.
Public propertyAvailableCount
Gets the number of connections in this connection pool that are available to be acquired.
Public propertyConnectionCount
Gets the total number of connections in this connection pool.
Public propertyHostName
Gets the host name of the Gateway daemon that connections in this pool are connected to.
Public propertyIdleTimeout
Gets the maximum time that connections can remain idle in the connection pool.
Public propertyMaxConnections
Gets the maximum number of connections in this connection pool.
Public propertyMinConnections
Gets the minimum number of connections in this connection pool.
Public propertyPort
Gets the remote TCP/IP port that connections in this pool are connected to.

See Also