public class SimpleDBConnectionPool extends Object
| Constructor and Description |
|---|
SimpleDBConnectionPool(SimpleDBConnectionPoolConfig simpleDBConnectionPoolConfig) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the connection pool.
|
int |
getActiveConnectionsCount()
Get the Number of Currently Active Connections
|
DBConnection |
getConnection()
Get an Idle Connection from the Connection Pool.
|
int |
getIdleConnectionsCount()
Get the Number of Currently Idle Connections
|
int |
getTotalConnectionsCount()
Get total connections count.
|
boolean |
isClosed()
Check If the Connection Pool Is Closed.
|
void |
manualCleanupIdleConnections()
Method for Manually Cleaning Up Idle Connections.
|
public SimpleDBConnectionPool(SimpleDBConnectionPoolConfig simpleDBConnectionPoolConfig)
public DBConnection getConnection()
public int getActiveConnectionsCount()
public int getIdleConnectionsCount()
public int getTotalConnectionsCount()
public void manualCleanupIdleConnections()
public void close()
public boolean isClosed()
Copyright © 2025 DolphinDB. All rights reserved.