Class: JobDispatch::Broker::IdleWorker
- Inherits:
-
Struct
- Object
- Struct
- JobDispatch::Broker::IdleWorker
- Defined in:
- lib/job_dispatch/broker.rb
Instance Attribute Summary collapse
-
#idle_count ⇒ Object
Returns the value of attribute idle_count.
-
#idle_since ⇒ Object
Returns the value of attribute idle_since.
-
#queue ⇒ Object
Returns the value of attribute queue.
-
#worker_id ⇒ Object
Returns the value of attribute worker_id.
-
#worker_name ⇒ Object
Returns the value of attribute worker_name.
Instance Attribute Details
#idle_count ⇒ Object
Returns the value of attribute idle_count
17 18 19 |
# File 'lib/job_dispatch/broker.rb', line 17 def idle_count @idle_count end |
#idle_since ⇒ Object
Returns the value of attribute idle_since
17 18 19 |
# File 'lib/job_dispatch/broker.rb', line 17 def idle_since @idle_since end |
#queue ⇒ Object
Returns the value of attribute queue
17 18 19 |
# File 'lib/job_dispatch/broker.rb', line 17 def queue @queue end |
#worker_id ⇒ Object
Returns the value of attribute worker_id
17 18 19 |
# File 'lib/job_dispatch/broker.rb', line 17 def worker_id @worker_id end |
#worker_name ⇒ Object
Returns the value of attribute worker_name
17 18 19 |
# File 'lib/job_dispatch/broker.rb', line 17 def worker_name @worker_name end |