Class: MKIt::AWorker

Inherits:
Object
  • Object
show all
Defined in:
lib/mkit/workers/aworker.rb

Direct Known Subclasses

HAProxyWorker, PodWorker, ServiceWorker

Instance Method Summary collapse

Constructor Details

#initializeAWorker

Must define topics method on subclass



6
7
8
# File 'lib/mkit/workers/aworker.rb', line 6

def initialize
  System[:job_manager].register_worker(self, self.topics)
end