Method: Sequel::ShardedTimedQueueConnectionPool#size

Defined in:
lib/sequel/connection_pool/sharded_timed_queue.rb

#size(server = :default) ⇒ Object

The total number of connections in the pool. Using a non-existant server will return nil.

[View source]

144
145
146
# File 'lib/sequel/connection_pool/sharded_timed_queue.rb', line 144

def size(server=:default)
  sync{@sizes[server]}
end