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

Function newInstance

test/integration/short/client-pool-tests.js:1086–1090  ·  view source on GitHub ↗

* @param {ClientOptions} [options] * @returns {Client}

(options)

Source from the content-addressed store, hash-verified

1084 * @returns {Client}
1085 */
1086function newInstance(options) {
1087 const client = new Client(utils.deepExtend({}, helper.baseOptions, options));
1088 helper.shutdownAfterThisTest(client);
1089 return client;
1090}
1091
1092/**
1093 * Returns a dictionary containing the last octet of the address as keys and the pool size as values.

Callers 4

testConnectFunction · 0.70
changingDistancesTestFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected