class Turnir::ChatStorage::Storage

Defined in:

turnir/chat_storage/storage.cr

Constant Summary

MESSAGES_LIMIT = 2000

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail


[View source]
def clear #

[View source]
def get_messages(channel : String, since : Int32, text_filter : String) #

[View source]
def last_access : Time #

[View source]
def last_access=(last_access : Time) #

[View source]
def should_stop? #

[View source]

[View source]
def storage=(storage : Array(Turnir::ChatStorage::Types::ChatMessage)) #

[View source]
def storage_mutex : Mutex #

[View source]
def storage_mutex=(storage_mutex : Mutex) #

[View source]