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

Method isClosing

lib/host-connection-pool.js:383–385  ·  view source on GitHub ↗

* Gets a boolean indicating if the pool is being closed / shutting down or has been shutdown.

()

Source from the content-addressed store, hash-verified

381 * Gets a boolean indicating if the pool is being closed / shutting down or has been shutdown.
382 */
383 isClosing() {
384 return this._state !== state.initial;
385 }
386
387 /**
388 * Gracefully waits for all in-flight requests to finish and closes the pool.

Callers 5

_attemptNewConnectionMethod · 0.95
drainAndShutdownMethod · 0.95
setDownMethod · 0.80
_checkPoolStateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected