MCPcopy Create free account
hub / github.com/apache/cassandra-nodejs-driver / removeFromPool

Method removeFromPool

lib/host.js:361–364  ·  view source on GitHub ↗

* @param {Connection} connection * @internal * @ignore

(connection)

Source from the content-addressed store, hash-verified

359 * @ignore
360 */
361 removeFromPool(connection) {
362 this.pool.remove(connection);
363 this._checkPoolState();
364 }
365
366 /**
367 * Internal method that gets the amount of in-flight requests on all connections to the host.

Callers 4

checkHealthMethod · 0.95
_handleErrorMethod · 0.80
_refreshMethod · 0.80
host-tests.jsFile · 0.80

Calls 2

_checkPoolStateMethod · 0.95
removeMethod · 0.65

Tested by

no test coverage detected