Class ElasticsearchNode

java.lang.Object
fr.gouv.vitam.common.database.server.elasticsearch.ElasticsearchNode

public class ElasticsearchNode extends Object
Elasticsearch Node
  • Constructor Details

    • ElasticsearchNode

      public ElasticsearchNode()
      ElasticsearchNode empty constructor for YAMLFactory
    • ElasticsearchNode

      public ElasticsearchNode(String hostName, int httpPort)
      Parameters:
      hostName - the node host name
      httpPort - the node tcp port
  • Method Details

    • getHostName

      public String getHostName()
      Returns:
      the hostName
    • getHttpPort

      public int getHttpPort()
      Returns:
      the httpPort
    • setHostName

      public ElasticsearchNode setHostName(String hostName)
      Parameters:
      hostName - the hostName to set
      Returns:
      this
    • setHttpPort

      public ElasticsearchNode setHttpPort(int httpPort)
      Parameters:
      httpPort - the httpPort to set
      Returns:
      this