Class Configserver

  • All Implemented Interfaces:
    com.yahoo.config.ConfigInstance.Producer, ConfigProducer, NetworkPortRequestor, Service, java.io.Serializable

    public class Configserver
    extends AbstractService
    Represents a Configserver. There may be one or more Configservers in a Vespa system. NOTE: The Configserver is not started by the config system, and does not receive any config. It's included here so we know what host it runs on, and to give an error message if another service tries to reserve the ports it is using.
    Author:
    gjoranv
    See Also:
    Serialized Form
    • Constructor Detail

    • Method Detail

      • getPortCount

        public int getPortCount()
        Description copied from interface: NetworkPortRequestor
        Returns the number of ports needed by this service. User-defined ports for container http servers should not be counted, as those ports are required to be outside Vespa's port range.
        Returns:
        the number of ports needed by the configserver.