Class ElasticsearchNode
- java.lang.Object
-
- fr.gouv.vitam.common.database.server.elasticsearch.ElasticsearchNode
-
public class ElasticsearchNode extends java.lang.Object
Elasticsearch Node
-
-
Constructor Summary
Constructors Constructor Description ElasticsearchNode()
ElasticsearchNode empty constructor for YAMLFactoryElasticsearchNode(java.lang.String hostName, int httpPort)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getHostName()
int
getHttpPort()
ElasticsearchNode
setHostName(java.lang.String hostName)
ElasticsearchNode
setHttpPort(int httpPort)
-
-
-
Method Detail
-
getHostName
public java.lang.String getHostName()
- Returns:
- the hostName
-
getHttpPort
public int getHttpPort()
- Returns:
- the httpPort
-
setHostName
public ElasticsearchNode setHostName(java.lang.String hostName)
- Parameters:
hostName
- the hostName to set- Returns:
- this
-
setHttpPort
public ElasticsearchNode setHttpPort(int httpPort)
- Parameters:
httpPort
- the httpPort to set- Returns:
- this
-
-