Class: Wakame::Triggers::LoadHistoryMonitor::ServiceLoadNormalEvent
- Inherits:
-
Event::Base
- Object
- Event::Base
- Wakame::Triggers::LoadHistoryMonitor::ServiceLoadNormalEvent
- 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) ⇒ ServiceLoadNormalEvent
constructor
A new instance of ServiceLoadNormalEvent.
Methods inherited from Event::Base
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_avg ⇒ Object (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_property ⇒ Object (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 |