module Elected::Scheduler
Constants
- VERSION
Attributes
key[W]
timeout[W]
Public Instance Methods
key()
click to toggle source
# File lib/elected/scheduler/poller.rb, line 143 def key @key || 'elected_scheduler_poller' end
poller()
click to toggle source
# File lib/elected/scheduler/poller.rb, line 151 def poller @poller ||= Poller.new key, timeout end
timeout()
click to toggle source
# File lib/elected/scheduler/poller.rb, line 147 def timeout @timeout || Elected.timeout end