1
0
mirror of https://github.com/danog/postgres.git synced 2025-01-21 21:01:10 +01:00
postgres/lib/Pool.php
Aaron Piotrowski caf829a48c Initial commit
2016-09-14 09:27:39 -05:00

21 lines
470 B
PHP

<?php declare(strict_types = 1);
namespace Amp\Postgres;
interface Pool extends Connection {
/**
* @return int Current number of connections in the pool.
*/
public function getConnectionCount(): int;
/**
* @return int Current number of idle connections in the pool.
*/
public function getIdleConnectionCount(): int;
/**
* @return int Maximum number of connections.
*/
public function getMaxConnections(): int;
}