MCPcopy Create free account
hub / github.com/apache/cassandra-python-driver / remove_host

Method remove_host

cassandra/cluster.py:2085–2092  ·  view source on GitHub ↗

Called when the control connection observes that a node has left the ring. Intended for internal use only.

(self, host)

Source from the content-addressed store, hash-verified

2083 return host, new
2084
2085 def remove_host(self, host):
2086 """
2087 Called when the control connection observes that a node has left the
2088 ring. Intended for internal use only.
2089 """
2090 if host and self.metadata.remove_host(host):
2091 log.info("Cassandra host %s removed", host)
2092 self.on_remove(host)
2093
2094 def register_listener(self, listener):
2095 """

Callers 1

Calls 1

on_removeMethod · 0.95

Tested by

no test coverage detected