class

Spacetime::ClientCache

Inherits Reference < Object

Multi-table client cache container that dispatches DatabaseUpdates to registered TableCache(T) instances.

Instance methods

apply_database_update(db_update : Protocol::DatabaseUpdate) : Nil
Source
apply_subscribe_rows(sub_rows : Protocol::SubscribeRows) : Nil
Source
clear_all
Source
register_table(type : T.class, custom_name : String | Nil = nil) : TableCache(T) forall T
Source
table(type : T.class, custom_name : String | Nil = nil) : TableCache(T) forall T
Source
table?(name : String) : AbstractTableCache | Nil
Source
table_names
Source