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

Method _resolve

lib/utils.js:626–634  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

624 }
625
626 async _resolve() {
627 const arr = await this._resolve4(this._nameOrIp);
628
629 if (!arr || arr.length === 0) {
630 throw new Error(`${this._nameOrIp} could not be resolved`);
631 }
632
633 this._addresses = arr;
634 }
635
636 /**
637 * Returns resolved ips in a round-robin fashion.

Callers 2

initMethod · 0.95
refreshMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected