class LavinMQ::Replication::Server::Follower

Defined in:

lavinmq/replication/server.cr

Constant Summary

Log = ::Log.for(self)

Constructors

Instance Method Summary

Constructor Detail

def self.new(socket : TCPSocket, server : Server) #

[View source]

Instance Method Detail

def ack : Channel(Nil) #

[View source]
def add(path, mfile : MFile | Nil = nil) #

[View source]
def append(path, obj) #

[View source]
def close #

[View source]
def delete(path) #

[View source]
def full_sync : Nil #

[View source]
def lag : Int64 #

[View source]
def negotiate!(password) : Nil #

[View source]
def read_acks(socket = @socket) : Nil #

[View source]
def to_json(json : JSON::Builder) #

[View source]