PgPoolSettings class

The settings of the PgPool.

Constructors

PgPoolSettings()

Properties

concurrency int
The maximum number of concurrent sessions.
getter/setter pair
connectTimeout Duration
The timeout after the connection attempt is assumed to be failing. Fractional seconds will be omitted. Value is applied only on new connections.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
idleTestThreshold Duration
If a connection is idle for longer than this threshold, it will be tested with a simple SQL query before allocating it to a session.
getter/setter pair
maxConnectionAge Duration
The maximum duration a connection is kept open. New sessions won't be scheduled after this limit is reached.
getter/setter pair
maxErrorCount int
The maximum number of error events to be collected on a connection. New sessions won't be scheduled after this limit is reached.
getter/setter pair
maxQueryCount int
The maximum number of queries to be run on a connection. New sessions won't be scheduled after this limit is reached.
getter/setter pair
maxSessionUse Duration
The maximum duration a connection is used by sessions. New sessions won't be scheduled after this limit is reached.
getter/setter pair
queryTimeout Duration
The timeout after a query is assumed to be failing. Fractional seconds will be omitted. Value is applied only on new connections.
getter/setter pair
retryOptions ↔ RetryOptions
The default retry options for run / runTx operations.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeZone String
Timezone for the connetion
getter/setter pair

Methods

applyFrom(PgPoolSettings other) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited