class

Turnir::ChatStorage::Storage

Inherits Reference < Object

Constants

MESSAGES_LIMIT = 5000

Constructors

new(stop_timeout : Time::Span | Nil = Nil)
Source

Instance methods

clear
Source
get_last_message_ts(channel : String) : Int64
Source
get_messages(channel : String, since : Int64, text_filter : String)
Source
last_access
Source
last_access=(last_access : Time)
Source
should_stop?
Source
stop_timeout
Source
stop_timeout=(stop_timeout : Time::Span)
Source
storage
Source
storage_mutex
Source
storage_mutex=(storage_mutex : Mutex)
Source