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

Method getResponseCount

lib/host.js:338–341  ·  view source on GitHub ↗

* Internal method to get the amount of responses dequeued in the last interval (between 200ms and 400ms) on all * connections to the host. * @returns {Number} * @internal * @ignore

()

Source from the content-addressed store, hash-verified

336 * @ignore
337 */
338 getResponseCount() {
339 // Last interval plus the current count
340 return this._healthResponseCounter + this.pool.responseCounter;
341 }
342
343 /**
344 * Checks the health of a connection in the pool

Callers 2

_healthCheckMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected