Class Host

    • Constructor Detail

      • Host

        public Host​(AbstractConfigProducer parent,
                    String hostname)
        Constructs a new Host instance.
        Parameters:
        parent - parent AbstractConfigProducer in the config model.
        hostname - hostname for this host.
    • Method Detail

      • getHostname

        public String getHostname()
      • runsConfigServer

        public boolean runsConfigServer()
      • toString

        public String toString()
        Returns the string representation of this Host object.
        Overrides:
        toString in class Object
      • getConfig

        public void getConfig​(com.yahoo.cloud.config.SentinelConfig.Builder builder)
        Specified by:
        getConfig in interface com.yahoo.cloud.config.SentinelConfig.Producer
      • setConfigSentinel

        public void setConfigSentinel​(ConfigSentinel configSentinel)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object