Return a new :class:`_pool.Pool`, of the same class as this one and configured with identical creation arguments. This method is used in conjunction with :meth:`dispose` to close out an entire :class:`_pool.Pool` and create a new one in its place.
(self)
| 409 | connection.invalidate(exception) |
| 410 | |
| 411 | def recreate(self) -> Pool: |
| 412 | """Return a new :class:`_pool.Pool`, of the same class as this one |
| 413 | and configured with identical creation arguments. |
| 414 | |
| 415 | This method is used in conjunction with :meth:`dispose` |
| 416 | to close out an entire :class:`_pool.Pool` and create a new one in |
| 417 | its place. |
| 418 | |
| 419 | """ |
| 420 | |
| 421 | raise NotImplementedError() |
| 422 | |
| 423 | def dispose(self) -> None: |
| 424 | """Dispose of this pool. |
no outgoing calls