Class: Contender::Pool::PoolControl
- Inherits:
-
Struct
- Object
- Struct
- Contender::Pool::PoolControl
- Defined in:
- lib/contender/pool/pool_executor.rb
Overview
Used in atomic operations relating to the state of the pool
Instance Attribute Summary collapse
-
#state ⇒ Object
Returns the value of attribute state.
-
#worker_count ⇒ Object
Returns the value of attribute worker_count.
Instance Attribute Details
#state ⇒ Object
Returns the value of attribute state
695 696 697 |
# File 'lib/contender/pool/pool_executor.rb', line 695 def state @state end |
#worker_count ⇒ Object
Returns the value of attribute worker_count
695 696 697 |
# File 'lib/contender/pool/pool_executor.rb', line 695 def worker_count @worker_count end |