class Kemal::Session::RethinkDBEngine
- Kemal::Session::RethinkDBEngine
- Kemal::Session::Engine
- Reference
- Object
Defined in:
kemal-session-rethinkdb.crConstructors
Instance Method Summary
- #all_sessions : Array(Session)
- #bigint(session_id : String, k : String, v : Int64)
- #bigint(session_id : String, k : String) : Int64
- #bigint?(session_id : String, k : String) : Int64 | Nil
- #bigints(session_id : String) : Hash(String, Int64)
- #bool(session_id : String, k : String, v : Bool)
- #bool(session_id : String, k : String) : Bool
- #bool?(session_id : String, k : String) : Bool | Nil
- #bools(session_id : String) : Hash(String, Bool)
- #create_session(session_id : String)
- #destroy_all_sessions
- #destroy_session(session_id : String)
- #each_session(&)
- #float(session_id : String, k : String, v : Float64)
- #float(session_id : String, k : String) : Float64
- #float?(session_id : String, k : String) : Float64 | Nil
- #floats(session_id : String) : Hash(String, Float64)
- #get_session(session_id : String) : Kemal::Session | Nil
- #int(session_id : String, k : String, v : Int32)
- #int(session_id : String, k : String) : Int32
- #int?(session_id : String, k : String) : Int32 | Nil
- #ints(session_id : String) : Hash(String, Int32)
- #is_in_cache?(session_id : String) : Bool
- #load_into_cache(session_id : String) : StorageInstance
- #object(session_id : String, k : String, v : Session::StorableObject::StorableObjectContainer)
- #object(session_id : String, k : String) : Session::StorableObject::StorableObjectContainer
- #object?(session_id : String, k : String) : Session::StorableObject::StorableObjectContainer | Nil
- #objects(session_id : String) : Hash(String, Session::StorableObject::StorableObjectContainer)
- #run_gc
- #save_cache(session_id)
- #session_exists?(session_id : String) : Bool
- #string(session_id : String, k : String, v : String)
- #string(session_id : String, k : String) : String
- #string?(session_id : String, k : String) : String | Nil
- #strings(session_id : String) : Hash(String, String)
Macro Summary
Constructor Detail
def self.new(connection : RethinkDB::Connection, sessiontable : String = "sessions", cachetime : Int32 = 5)
#
Instance Method Detail
def object(session_id : String, k : String, v : Session::StorableObject::StorableObjectContainer)
#
def object(session_id : String, k : String) : Session::StorableObject::StorableObjectContainer
#
def object?(session_id : String, k : String) : Session::StorableObject::StorableObjectContainer | Nil
#
def objects(session_id : String) : Hash(String, Session::StorableObject::StorableObjectContainer)
#