CrdbPoolSettings class
Settings for CrdbPool.
- Inheritance
-
- Object
- PgPoolSettings
- CrdbPoolSettings
Constructors
Properties
- clusterUpdateThreshold ↔ Duration
-
The time between automatic updates of the cluster information (e.g.
detecting new nodes or re-enabling blacklisted nodes).
getter/setter pair
- concurrency ↔ int
-
The maximum number of concurrent sessions.
getter/setter pairinherited
- 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 pairinherited
- 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 pairinherited
- maxConnectionAge ↔ Duration
-
The maximum duration a connection is kept open.
New sessions won't be scheduled after this limit is reached.
getter/setter pairinherited
- 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 pairinherited
- 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 pairinherited
- maxSessionUse ↔ Duration
-
The maximum duration a connection is used by sessions.
New sessions won't be scheduled after this limit is reached.
getter/setter pairinherited
- nodeInactivityThreshold ↔ Duration
-
The maximum time after a node is no longer considered part of the cluster.
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 pairinherited
- retryOptions ↔ RetryOptions
-
The default retry options for
run
/runTx
operations.getter/setter pairinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeZone ↔ String
-
Timezone for the connetion
getter/setter pairinherited
Methods
-
applyFrom(
PgPoolSettings other) → void -
override
-
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