class SOCKS::PausePool

Defined in:

socks/pause_pool.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(clearInterval : Time::Span = 60.seconds, capacity : Int32 = 128) #

[View source]

Instance Method Detail

def assign_connection_identifier : UUID #

[View source]
def capacity : Int32 #

[View source]
def clear #

[View source]
def clearInterval : Time::Span #

[View source]
def connection_identifier_includes?(connection_identifier : UUID) : Bool #

[View source]
def connectionIdentifiers : Set(UUID) #

[View source]
def entries : Hash(UUID, Entry) #

[View source]
def get?(connection_identifier : UUID) : Entry | Nil #

[View source]
def inactive_entry_cleanup_mutex #

[View source]
def lastCleanedUp : Time #

[View source]
def mutex : Mutex #

[View source]
def remove_connection_identifier(connection_identifier : UUID) : Bool #

[View source]
def set(connection_identifier : UUID, value : Transfer, state : Enhanced::State::WebSocket) : Bool #

[View source]
def size : Int32 #

[View source]