getPooledCount() Method

Returns the number of pooled connections currently in the connection pool. A pooled connection is a connection that is available to be reused by ConnectionPool.getConnection.

Parameters

None.

Returns

A number is returned.

Remarks

None.

Example

The following SAP HANA Cloud example returns the number of connections in the pool:

var pool = hana.createPool("ServerNode=myhost-hanacloud.ondemand.com:443;uid=myusername;pwd=mypassword");
var numPooledConns = pool.getPooledCount();