Class: RBoss::Twiddle::BaseMonitor

Inherits:
Object
  • Object
show all
Includes:
Monitor
Defined in:
lib/rboss/twiddle/base_monitor.rb

Instance Method Summary collapse

Methods included from Monitor

defaults, #mbean, #mbeans, #monitor

Constructor Details

#initialize(twiddle) ⇒ BaseMonitor

Returns a new instance of BaseMonitor.



32
33
34
35
36
37
# File 'lib/rboss/twiddle/base_monitor.rb', line 32

def initialize twiddle
  @twiddle = twiddle
  defaults.each do |mbean_id, config|
    monitor mbean_id, config
  end
end