DBIO-MySQL-EV

 view release on metacpan or  search on metacpan

lib/DBIO/MySQL/EV/Pool.pm  view on Meta::CPAN

  );

  my $mdb = $pool->acquire;       # get idle connection
  $pool->release($mdb);           # return to pool
  my $mdb = $pool->acquire_txn;   # pinned for transaction

=head1 DESCRIPTION

Connection pool for L<DBIO::MySQL::EV::Storage>. Manages a pool of
L<EV::MariaDB> connections, dispatching queries to available connections
and queuing when all are busy.

The acquire / release / capacity / shutdown mechanics, including the
connection-readiness gate, are inherited from L<DBIO::Storage::PoolBase>;
this class supplies only the EV::MariaDB seam — see L</_create_connection>,
L</_connection_ready_future> and L</_shutdown_connection>.

=head1 METHODS

=head2 _create_connection



( run in 4.213 seconds using v1.01-cache-2.11-cpan-9169edd2b0e )