struct NNTP::Pool::Stats

Defined in:

nntp/pool.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(open_connections : Int32, idle_connections : Int32, in_flight_connections : Int32, max_connections : Int32) #

[View source]

Instance Method Detail

def clone #

[View source]
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) #

[View source]
def idle_connections : Int32 #

def in_flight_connections : Int32 #

def max_connections : Int32 #

def open_connections : Int32 #