Sha256: 22c439f230c2f4a685a7fc4560220d13b3e59c4939c7b564e138da9ad953f487
Contents?: true
Size: 1014 Bytes
Versions: 5
Compression:
Stored size: 1014 Bytes
Contents
class ConnectionPool[T] class Error < ::RuntimeError end class PoolShuttingDownError < ::ConnectionPool::Error end class TimeoutError < ::Timeout::Error end class Wrapper[T] def initialize: (pool: ConnectionPool[T]) -> void | (?size: Integer, ?timeout: Numeric, ?auto_reload_after_fork: bool) { () -> T } -> void def wrapped_pool: () -> ConnectionPool[T] def with: [A] () { (T) -> A } -> A def pool_shutdown: () { (T) -> void } -> void def pool_size: () -> Integer def pool_available: () -> Integer end def initialize: (?size: Integer, ?timeout: Numeric, ?auto_reload_after_fork: bool) { () -> T } -> void def with: [A] (?timeout: Numeric) { (T) -> A } -> A def checkout: (?timeout: Numeric) -> T def checkin: (?force: bool) -> void def shutdown: () { (T) -> void } -> void def reload: () { (T) -> void } -> void attr_reader size: Integer attr_reader auto_reload_after_fork: bool def available: () -> Integer alias then with end
Version data entries
5 entries across 5 versions & 1 rubygems