Was this page helpful?
Caution
You're viewing documentation for an unstable version of ScyllaDB Node.js Driver. Switch to the latest stable version.
AddressResolver¶
AddressResolver(options)
Utility class that resolves host names into addresses.
Constructor¶
new AddressResolver(options)
Creates a new instance of the resolver.
Parameters:
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
Properties
|
Source
Methods¶
getIp()
Returns resolved ips in a round-robin fashion.
Source
(async) init()
Resolves the addresses for the host name.
Source
(async) refresh()
Tries to resolve the addresses for the host name.
Source