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