class Agave::Server

Defined in:

server.cr

Constant Summary

Log = ::Log.for(self)
VERSION = "0.1.0"

Constructors

Instance Method Summary

Constructor Detail

def self.new(host : String, port : Int32, data : Data, expirations : Expirations, snapshot_file : String = "backup.dump") #

[View source]
def self.new(host : String = "localhost", port : Int32 = 6379, snapshot_file = "backup.dump") #

[View source]

Instance Method Detail

def close(connection : ClientConnection) #

[View source]
def close #

[View source]
def expire_loop #

[View source]
def finalize #

[View source]
def handle(command full_command : Array(Value), connection : ClientConnection) #

[View source]
def snapshot_loop #

[View source]
def start #

[View source]