struct Movie::Remote::ConnectionStats

Defined in:

movie/remote/connection.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(state : Connection::State, generation : Int64, connect_attempts : Int64, successful_connections : Int64, disconnects : Int64, heartbeat_timeouts : Int64, protocol_failures : Int64, last_received_at_ms : Int64, pending_asks : Int32, pending_control : Int32) #

[View source]

Instance Method Detail

def clone #

[View source]
def connect_attempts : Int64 #

def copy_with(state _state = @state, generation _generation = @generation, connect_attempts _connect_attempts = @connect_attempts, successful_connections _successful_connections = @successful_connections, disconnects _disconnects = @disconnects, heartbeat_timeouts _heartbeat_timeouts = @heartbeat_timeouts, protocol_failures _protocol_failures = @protocol_failures, last_received_at_ms _last_received_at_ms = @last_received_at_ms, pending_asks _pending_asks = @pending_asks, pending_control _pending_control = @pending_control) #

[View source]
def disconnects : Int64 #

def generation : Int64 #

def heartbeat_timeouts : Int64 #

def last_received_at_ms : Int64 #

def pending_asks : Int32 #

def pending_control : Int32 #

def protocol_failures : Int64 #

def state : Connection::State #

def successful_connections : Int64 #