Class ClusterControllerContainer

  • All Implemented Interfaces:
    com.yahoo.cloud.config.ZookeeperServerConfig.Producer, com.yahoo.config.ConfigInstance.Producer, com.yahoo.container.ComponentsConfig.Producer, com.yahoo.container.core.ContainerHttpConfig.Producer, com.yahoo.container.di.config.PlatformBundlesConfig.Producer, com.yahoo.container.jdisc.ContainerMbusConfig.Producer, com.yahoo.container.jdisc.JdiscBindingsConfig.Producer, com.yahoo.container.QrConfig.Producer, com.yahoo.vespa.config.content.reindexing.ReindexingConfig.Producer, ConfigProducer, NetworkPortRequestor, Service, Serializable

    public class ClusterControllerContainer
    extends Container
    implements com.yahoo.container.di.config.PlatformBundlesConfig.Producer, com.yahoo.cloud.config.ZookeeperServerConfig.Producer, com.yahoo.vespa.config.content.reindexing.ReindexingConfig.Producer
    Container implementation for cluster-controllers
    See Also:
    Serialized Form
    • Constructor Detail

      • ClusterControllerContainer

        public ClusterControllerContainer​(AbstractConfigProducer<?> parent,
                                          int index,
                                          boolean runStandaloneZooKeeper,
                                          DeployState deployState,
                                          boolean retired)
    • Method Detail

      • getWantedPort

        public int getWantedPort()
        Description copied from class: AbstractService
        Returns the desired base port for the first instance of the service type. Returns '0' as default, which means that the service type should use the default port allocation mechanism.
        Specified by:
        getWantedPort in interface NetworkPortRequestor
        Overrides:
        getWantedPort in class Container
        Returns:
        The desired base port for the first instance of the service type.
      • myServiceType

        public com.yahoo.config.model.api.container.ContainerServiceType myServiceType()
        Description copied from class: Container
        Subclasses must implement this for a custom service name.
        Specified by:
        myServiceType in class Container
      • getConfig

        public void getConfig​(com.yahoo.container.di.config.PlatformBundlesConfig.Builder builder)
        Specified by:
        getConfig in interface com.yahoo.container.di.config.PlatformBundlesConfig.Producer
      • getConfig

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

        public void getConfig​(com.yahoo.vespa.config.content.reindexing.ReindexingConfig.Builder builder)
        Specified by:
        getConfig in interface com.yahoo.vespa.config.content.reindexing.ReindexingConfig.Producer