Package fr.gouv.vitam.common.database.server.elasticsearch

# Class ElasticsearchNode

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

public class ElasticsearchNode extends Object
Elasticsearch Node

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ElasticsearchNode()`
  ElasticsearchNode empty constructor for YAMLFactory
  `ElasticsearchNode(String hostName, int httpPort)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getHostName()`
  `int`
  `getHttpPort()`
  `ElasticsearchNode`
  `setHostName(String hostName)`
  `ElasticsearchNode`
  `setHttpPort(int httpPort)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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