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:
  • Constructor Details

    • ClusterControllerContainer

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

    • 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.
    • requiresWantedPort

      public boolean requiresWantedPort()
      Description copied from class: Container
      First container must run on ports familiar to the user.
      Specified by:
      requiresWantedPort in interface NetworkPortRequestor
      Overrides:
      requiresWantedPort in class Container
      Returns:
      false by default
    • 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
    • jvmOmitStackTraceInFastThrowOption

      protected String jvmOmitStackTraceInFastThrowOption(com.yahoo.config.model.api.ModelContext.FeatureFlags featureFlags)
      Overrides:
      jvmOmitStackTraceInFastThrowOption 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
    • defaultPreload

      protected String defaultPreload()
      Overrides:
      defaultPreload in class AbstractService