Class: Wakame::Triggers::LoadHistoryMonitor::ServiceLoadHighEvent
- Inherits:
-
Event::Base
- Object
- Event::Base
- Wakame::Triggers::LoadHistoryMonitor::ServiceLoadHighEvent
- Defined in:
- lib/wakame/triggers/load_history.rb
Instance Attribute Summary collapse
-
#load_avg ⇒ Object
readonly
Returns the value of attribute load_avg.
-
#service_property ⇒ Object
readonly
Returns the value of attribute service_property.
Attributes inherited from Event::Base
Instance Method Summary collapse
-
#initialize(svc_prop, load_avg) ⇒ ServiceLoadHighEvent
constructor
A new instance of ServiceLoadHighEvent.
Methods inherited from Event::Base
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_avg ⇒ Object (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_property ⇒ Object (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 |