getTimeout method
Get timeout for getting a connection from the pool
Implementation
int getTimeout() {
_ensureNotDisposed();
final timeout = _memoryManager.allocate<Uint32>(sizeOf<Uint32>());
final result = _dpiOracle.dpiPool_getTimeout(_poolPtr.value, timeout);
if (result == DPI_FAILURE) {
throw OraclePoolException('Failed to get pool timeout');
}
return timeout.value;
}