OracleConnectionPool class
Connection pool for Oracle database connections
Manages a pool of reusable database connections to improve performance and resource utilization.
Properties
- config → PoolConfig
-
no setter
- dbConfig → OracleConfig
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDisposed → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
{int closeMode = DPI_MODE_POOL_CLOSE_DEFAULT}) → Future< void> - Close the pool and release all connections
-
getConnection(
) → Future< OracleConnection> - Get a connection from the pool
-
getStatistics(
) → Future< PoolStatistics> - Get pool statistics
-
getStmtCacheSize(
) → int - Get statement cache size
-
getTimeout(
) → int - Get timeout for getting a connection from the pool
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setStmtCacheSize(
int cacheSize) → Future< void> - Set statement cache size
-
setTimeout(
int timeoutSeconds) → Future< void> - Set timeout for getting a connection from the pool
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
create(
{required DpiOracle dpiOracle, required Pointer< dpiContext> context, required OracleConfig config, PoolConfig poolConfig = PoolConfig.defaultConfig}) → Future<OracleConnectionPool> - Create a connection pool