public class ElasticsearchNode extends Object
| Constructor and Description |
|---|
ElasticsearchNode()
ElasticsearchNode empty constructor for YAMLFactory
|
ElasticsearchNode(String hostName,
int tcpPort) |
| Modifier and Type | Method and Description |
|---|---|
String |
getHostName() |
int |
getTcpPort() |
ElasticsearchNode |
setHostName(String hostName) |
ElasticsearchNode |
setTcpPort(int tcpPort) |
public ElasticsearchNode()
public ElasticsearchNode(String hostName, int tcpPort)
hostName - the node host nametcpPort - the node tcp portpublic String getHostName()
public int getTcpPort()
public ElasticsearchNode setHostName(String hostName)
hostName - the hostName to setpublic ElasticsearchNode setTcpPort(int tcpPort)
tcpPort - the tcpPort to setCopyright © 2018 Vitam. All rights reserved.