struct CQL::PoolStats

Overview

Snapshot of a schema's connection pool. #max 0 means unlimited; #in_flight counts connections currently checked out.

Defined in:

pool_stats.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from(stats : DB::Pool::Stats) : PoolStats #

[View source]
def self.new(open : Int32, idle : Int32, in_flight : Int32, max : Int32) #

[View source]

Instance Method Detail

def idle : Int32 #

[View source]
def in_flight : Int32 #

[View source]
def max : Int32 #

[View source]
def open : Int32 #

[View source]