struct DB::Pool::Stats
- DB::Pool::Stats
- Struct
- Value
- Object
Defined in:
db/pool.crConstructors
Instance Method Summary
- #clone
- #copy_with(open_connections _open_connections = @open_connections, idle_connections _idle_connections = @idle_connections, in_flight_connections _in_flight_connections = @in_flight_connections, max_connections _max_connections = @max_connections)
- #idle_connections : Int32
- #in_flight_connections : Int32
- #max_connections : Int32
- #open_connections : Int32
Constructor Detail
def self.new(open_connections : Int32, idle_connections : Int32, in_flight_connections : Int32, max_connections : Int32)
#
Instance Method Detail
def copy_with(open_connections _open_connections = @open_connections, idle_connections _idle_connections = @idle_connections, in_flight_connections _in_flight_connections = @in_flight_connections, max_connections _max_connections = @max_connections)
#