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

Function createHost

test/unit/load-balancing-tests.js:603–607  ·  view source on GitHub ↗

* * @param {String} address * @param {Object} options * @param {String} [dc]

(address, options, dc)

Source from the content-addressed store, hash-verified

601 * @param {String} [dc]
602 */
603function createHost(address, options, dc) {
604 const h = new Host(address, 4, options);
605 h.datacenter = dc || 'dc1';
606 return h;
607}
608
609/**
610 * @param {Host} h

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected