Class: GRI::UScheduler
Instance Attribute Summary
Attributes inherited from Scheduler
#fake_descr_hash, #queue, #writers
Instance Method Summary collapse
Methods inherited from Scheduler
#finalize, #initialize, #process1
Constructor Details
This class inherits a constructor from GRI::Scheduler
Instance Method Details
#process_queue ⇒ Object
64 65 66 67 68 69 70 71 |
# File 'lib/gri/scheduler.rb', line 64 def process_queue while @loop.collectors.size < 5 host, = queue.shift break unless host @metrics[:nometrics] = 1 if host =~ /^GRIMETRICS/ process1 'tra', host, end end |