Method: Sequel::ThreadedConnectionPool#size
- Defined in:
- lib/sequel/connection_pool/threaded.rb
#size ⇒ Object
The total number of connections opened, either available or allocated. The calling code should not have the mutex before calling this.
120 121 122 |
# File 'lib/sequel/connection_pool/threaded.rb', line 120 def size @mutex.synchronize{_size} end |