Class: Wakame::Triggers::LoadHistoryMonitor::ServiceLoadNormalEvent

Inherits:
Event::Base
  • Object
show all
Defined in:
lib/wakame/triggers/load_history.rb

Instance Attribute Summary collapse

Attributes inherited from Event::Base

#time

Instance Method Summary collapse

Methods inherited from Event::Base

#log_message

Constructor Details

#initialize(svc_prop, load_avg) ⇒ ServiceLoadNormalEvent

Returns a new instance of ServiceLoadNormalEvent.



31
32
33
34
35
# File 'lib/wakame/triggers/load_history.rb', line 31

def initialize(svc_prop, load_avg)
  super()
  @service_property = svc_prop
  @load_avg = load_avg
end

Instance Attribute Details

#load_avgObject (readonly)

Returns the value of attribute load_avg.



30
31
32
# File 'lib/wakame/triggers/load_history.rb', line 30

def load_avg
  @load_avg
end

#service_propertyObject (readonly)

Returns the value of attribute service_property.



30
31
32
# File 'lib/wakame/triggers/load_history.rb', line 30

def service_property
  @service_property
end