d8b612adbd3c9adce6141f55eb788f1315e23c6045214e75cc59626cb6543d157bb51ec66ac6acc6a1ed8c67e3aa7dc77cc5ca62fdaceb45a7493f9440d31a 669 B

12345678910111213141516171819
  1. import Pool from "./pool"
  2. export default PoolStats
  3. declare class PoolStats {
  4. constructor(pool: Pool);
  5. /** Number of open socket connections in this pool. */
  6. connected: number;
  7. /** Number of open socket connections in this pool that do not have an active request. */
  8. free: number;
  9. /** Number of pending requests across all clients in this pool. */
  10. pending: number;
  11. /** Number of queued requests across all clients in this pool. */
  12. queued: number;
  13. /** Number of currently active requests across all clients in this pool. */
  14. running: number;
  15. /** Number of active, pending, or queued requests across all clients in this pool. */
  16. size: number;
  17. }