Class ElasticsearchNode


  • public class ElasticsearchNode
    extends java.lang.Object
    Elasticsearch Node
    • Constructor Detail

      • ElasticsearchNode

        public ElasticsearchNode()
        ElasticsearchNode empty constructor for YAMLFactory
      • ElasticsearchNode

        public ElasticsearchNode​(java.lang.String hostName,
                                 int httpPort)
        Parameters:
        hostName - the node host name
        httpPort - the node tcp port
    • 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