Class: Contender::Pool::PoolControl

Inherits:
Struct
  • Object
show all
Defined in:
lib/contender/pool/pool_executor.rb

Overview

Used in atomic operations relating to the state of the pool

Instance Attribute Summary collapse

Instance Attribute Details

#stateObject

Returns the value of attribute state

Returns:

  • (Object)

    the current value of state



695
696
697
# File 'lib/contender/pool/pool_executor.rb', line 695

def state
  @state
end

#worker_countObject

Returns the value of attribute worker_count

Returns:

  • (Object)

    the current value of worker_count



695
696
697
# File 'lib/contender/pool/pool_executor.rb', line 695

def worker_count
  @worker_count
end