(self, host)
| 4205 | self.refresh_node_list_and_token_map(force_token_rebuild=True) |
| 4206 | |
| 4207 | def on_remove(self, host): |
| 4208 | c = self._connection |
| 4209 | if c and c.endpoint == host.endpoint: |
| 4210 | log.debug("[control connection] Control connection host (%s) is being removed. Reconnecting", host) |
| 4211 | # refresh will be done on reconnect |
| 4212 | self.reconnect() |
| 4213 | else: |
| 4214 | self.refresh_node_list_and_token_map(force_token_rebuild=True) |
| 4215 | |
| 4216 | def get_connections(self): |
| 4217 | c = getattr(self, '_connection', None) |
nothing calls this directly
no test coverage detected