update abstract pool
This commit is contained in:
parent
bb0ea9d687
commit
f1f353039c
@ -28,15 +28,6 @@ abstract class AbstractPool implements Pool
|
|||||||
/** @var \SplObjectStorage */
|
/** @var \SplObjectStorage */
|
||||||
private $connections;
|
private $connections;
|
||||||
|
|
||||||
/** @var Promise|null */
|
|
||||||
private $promise;
|
|
||||||
|
|
||||||
/** @var Deferred|null */
|
|
||||||
private $deferred;
|
|
||||||
|
|
||||||
/** @var int Number of pending connections. */
|
|
||||||
private $pending = 0;
|
|
||||||
|
|
||||||
/** @var bool */
|
/** @var bool */
|
||||||
private $closed = false;
|
private $closed = false;
|
||||||
|
|
||||||
@ -52,6 +43,15 @@ abstract class AbstractPool implements Pool
|
|||||||
/** @var int */
|
/** @var int */
|
||||||
private $lastUsedAt;
|
private $lastUsedAt;
|
||||||
|
|
||||||
|
/** @var Promise|null */
|
||||||
|
protected $promise;
|
||||||
|
|
||||||
|
/** @var Deferred|null */
|
||||||
|
protected $deferred;
|
||||||
|
|
||||||
|
/** @var int Number of pending connections. */
|
||||||
|
protected $pending = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param ConnectionConfig $config
|
* @param ConnectionConfig $config
|
||||||
* @param int $maxConnections
|
* @param int $maxConnections
|
||||||
|
Loading…
Reference in New Issue
Block a user