class
JoobQ::WorkerManager(T)
- JoobQ::WorkerManager(T)
- Reference
- Object
Overview
WorkerManager handles all worker-related operations
Defined in:
joobq/worker_manager.crConstructors
Instance Method Summary
- #active_workers : Int32
- #add_worker
- #remove_worker
- #restart(worker, ex : Exception)
- #running? : Bool
- #running_workers : Int32
- #start_workers
- #stop_workers
- #stopped : Atomic(Bool)
- #stopped? : Bool
- #terminate(worker)
- #terminate_channel : Channel(Nil)
- #total_workers : Int32
- #total_workers=(total_workers : Int32)
- #workers : Array(Worker(T))
- #workers_mutex