OdbcEvent class sealed
Connection-lifecycle events emitted by the package's
IAdminService event bus (Stream<OdbcEvent>). Sealed so consumers
can pattern-match exhaustively and the surface stays stable across
additive changes.
Events are best-effort observability signals: the package keeps working if no listener is attached, and there's no back-pressure from listeners onto the runtime path that emits them. The default Stream is broadcast (multi-listener safe).
Variants:
- ConnectionLost —
_withReconnectdetected a dropped connection. - WorkerRecovered — async worker pool re-spun after a crash.
- AutoReconnectAttempted —
_withReconnectre-issued a request. - PoolResize —
poolSetSizechanged pool capacity. - SlowQueryDetected — query duration crossed the configured
threshold (or the connection's
queryTimeout).
Properties
Methods
-
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