class Raft::LeadershipState
Attributes
update_timer[R]
Public Class Methods
new(update_interval)
click to toggle source
# File lib/raft.rb, line 94 def initialize(update_interval) @update_timer = Timer.new(update_interval) end
Public Instance Methods
followers()
click to toggle source
# File lib/raft.rb, line 88 def followers @followers ||= {} end