(self, host)
| 2045 | session.update_created_pools() |
| 2046 | |
| 2047 | def on_remove(self, host): |
| 2048 | if self.is_shutdown: |
| 2049 | return |
| 2050 | |
| 2051 | log.debug("Removing host %s", host) |
| 2052 | host.set_down() |
| 2053 | self.profile_manager.on_remove(host) |
| 2054 | for session in tuple(self.sessions): |
| 2055 | session.on_remove(host) |
| 2056 | for listener in self.listeners: |
| 2057 | listener.on_remove(host) |
| 2058 | self.control_connection.on_remove(host) |
| 2059 | |
| 2060 | reconnection_handler = host.get_and_set_reconnection_handler(None) |
| 2061 | if reconnection_handler: |
| 2062 | reconnection_handler.cancel() |
| 2063 | |
| 2064 | def signal_connection_failure(self, host, connection_exc, is_host_addition, expect_host_to_be_down=False): |
| 2065 | is_down = host.signal_connection_failure(connection_exc) |
no test coverage detected