Class: ServerEngine::ProcessManager::HeartbeatThread
- Inherits:
-
Thread
- Object
- Thread
- ServerEngine::ProcessManager::HeartbeatThread
- Defined in:
- lib/serverengine/process_manager.rb
Instance Method Summary collapse
-
#initialize(heartbeat_interval, target, error_proc) ⇒ HeartbeatThread
constructor
A new instance of HeartbeatThread.
Constructor Details
#initialize(heartbeat_interval, target, error_proc) ⇒ HeartbeatThread
Returns a new instance of HeartbeatThread.
511 512 513 514 515 516 |
# File 'lib/serverengine/process_manager.rb', line 511 def initialize(heartbeat_interval, target, error_proc) @heartbeat_interval = heartbeat_interval @target = target @error_proc = error_proc super(&method(:main)) end |