Class: Wakame::Triggers::LoadHistoryMonitor::AgentLoadNormalEvent
- Inherits:
-
Event::Base
- Object
- Event::Base
- Wakame::Triggers::LoadHistoryMonitor::AgentLoadNormalEvent
- Defined in:
- lib/wakame/triggers/load_history.rb
Instance Attribute Summary collapse
-
#agent ⇒ Object
readonly
Returns the value of attribute agent.
-
#load_avg ⇒ Object
readonly
Returns the value of attribute load_avg.
Attributes inherited from Event::Base
Instance Method Summary collapse
-
#initialize(agent, load_avg) ⇒ AgentLoadNormalEvent
constructor
A new instance of AgentLoadNormalEvent.
Methods inherited from Event::Base
Constructor Details
#initialize(agent, load_avg) ⇒ AgentLoadNormalEvent
Returns a new instance of AgentLoadNormalEvent.
15 16 17 18 19 |
# File 'lib/wakame/triggers/load_history.rb', line 15 def initialize(agent, load_avg) super() @agent = agent @load_avg = load_avg end |
Instance Attribute Details
#agent ⇒ Object (readonly)
Returns the value of attribute agent.
14 15 16 |
# File 'lib/wakame/triggers/load_history.rb', line 14 def agent @agent end |
#load_avg ⇒ Object (readonly)
Returns the value of attribute load_avg.
14 15 16 |
# File 'lib/wakame/triggers/load_history.rb', line 14 def load_avg @load_avg end |