| Constructor and Description |
|---|
QuasardbNode()
Default constructor.
|
QuasardbNode(String hostName,
int port)
Build a QuasardbNode with a provided hostname and port.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getHostName()
Get the hostname of the current quasardb node.
|
int |
getPort()
Get the port of the current quasardb node.
|
void |
setHostName(String hostName)
Set hostname for a quasardb node.
|
void |
setPort(int port)
Set port for a quasardb node.
|
public QuasardbNode()
public QuasardbNode(String hostName, int port)
hostName - hostname of the quasardb node. Example : 127.0.0.1port - port of the quasardb node. Example : 2836public String getHostName()
public void setHostName(String hostName)
hostName - the host to setpublic int getPort()
public void setPort(int port)
port - the quasardb node port to set to the nodeCopyright © 2015 quasardb. All Rights Reserved.