Class: Wakame::Triggers::LoadHistoryMonitor::ServiceLoadHighEvent

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) ⇒ ServiceLoadHighEvent

Returns a new instance of ServiceLoadHighEvent.



23
24
25
26
27
# File 'lib/wakame/triggers/load_history.rb', line 23

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.



22
23
24
# File 'lib/wakame/triggers/load_history.rb', line 22

def load_avg
  @load_avg
end

#service_propertyObject (readonly)

Returns the value of attribute service_property.



22
23
24
# File 'lib/wakame/triggers/load_history.rb', line 22

def service_property
  @service_property
end