public final class Host extends Object
Modifier and Type | Field and Description |
---|---|
String |
name
Host name or IP address of database server.
|
int |
port
Port of database server.
|
String |
tlsName
TLS certificate name used for secure connections.
|
Constructor and Description |
---|
Host(String name,
int port)
Initialize host.
|
Host(String name,
String tlsName,
int port)
Initialize host.
|
public final String name
public final String tlsName
public final int port
public Host(String name, int port)
public static Host[] parseHosts(String str, int defaultPort)
Hostname may also be an IP address in the following formats.
Copyright © 2012–2017 Aerospike, Inc. All rights reserved.