Class: Daemon::MasterProcess::StopService
- Inherits:
-
Object
- Object
- Daemon::MasterProcess::StopService
- Includes:
- Utils::Loggable
- Defined in:
- lib/onapp/engine/master_process/middleware/stop_service.rb
Instance Attribute Summary
Attributes included from Utils::Loggable
Instance Method Summary (collapse)
-
- (StopService) initialize(master_process, logger)
constructor
A new instance of StopService.
- - (Object) perform
Methods included from Utils::Loggable
#debug, #error, #fatal, #info, #lwarn
Constructor Details
- (StopService) initialize(master_process, logger)
Returns a new instance of StopService
9 10 11 12 13 14 |
# File 'lib/onapp/engine/master_process/middleware/stop_service.rb', line 9 def initialize(master_process, logger) @master_process = master_process @logger = logger @facility = 'stop_service' extend(::MonitorMixin) end |
Instance Method Details
- (Object) perform
16 17 18 |
# File 'lib/onapp/engine/master_process/middleware/stop_service.rb', line 16 def perform synchronize { original_perform } end |