Class: Fwd::Pool::IdleStack

Inherits:
ConnectionPool::TimedStack
  • Object
show all
Defined in:
lib/fwd/pool.rb

Instance Method Summary collapse

Instance Method Details

#unshift(obj) ⇒ Object



6
7
8
9
10
11
# File 'lib/fwd/pool.rb', line 6

def unshift(obj)
  @mutex.synchronize do
    @que.unshift obj
    @resource.broadcast
  end
end