Class: LogStash::PerformanceMeter::Reporter
- Inherits:
-
Object
- Object
- LogStash::PerformanceMeter::Reporter
- Defined in:
- lib/lsperfm/core/reporter.rb
Instance Method Summary collapse
Instance Method Details
#start ⇒ Object
6 7 8 9 10 11 12 13 14 |
# File 'lib/lsperfm/core/reporter.rb', line 6 def start @reporter = Thread.new do loop do $stderr.print '.' sleep 1 end end self end |
#stop ⇒ Object
16 17 18 |
# File 'lib/lsperfm/core/reporter.rb', line 16 def stop @reporter.kill end |