Class: Wakame::Actor::Monitor
- Inherits:
-
Object
- Object
- Wakame::Actor::Monitor
- Includes:
- Wakame::Actor
- Defined in:
- lib/wakame/actor/monitor.rb
Constant Summary
Constants included from Wakame::Actor
STATUS_CANCELED, STATUS_FAILED, STATUS_RUNNING, STATUS_SUCCESS
Instance Method Summary collapse
Methods included from Wakame::Actor
Instance Method Details
#reload(monitor_path, config) ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/wakame/actor/monitor.rb', line 5 def reload(monitor_path, config) mon = agent.monitor_manager.find_monitor(monitor_path) || raise("#{self.class}: The monitor namespace was not found: #{monitor_path}") EM. { mon.reload(config) } end |