Package-level declarations
Types
Link copied to clipboard
Thrown by SuspendConnectionPool.use when PoolConfig.acquireTimeout elapses.
Link copied to clipboard
Thrown by SuspendConnectionPool.use when the pool has been SuspendConnectionPool.closed.
Link copied to clipboard
data class PoolConfig(val minConnections: Int = 2, val maxConnections: Int = 10, val acquireTimeout: Duration = 30.seconds, val idleTimeout: Duration = 5.minutes, val maxLifetime: Duration = 30.minutes, val cleanupInterval: Duration = 30.seconds, val validationQuery: String? = null, val validateAfterIdle: Duration = 10.seconds, val shutdownTimeout: Duration = 30.seconds)
Tuning for the connection pool behind SuspendStormify.
Link copied to clipboard
class SuspendStormify
Coroutine-aware wrapper around a Stormify instance, backed by a connection pool.