Class StorageNode

All Implemented Interfaces:
com.yahoo.config.ConfigInstance.Producer, com.yahoo.vespa.config.content.core.StorCommunicationmanagerConfig.Producer, com.yahoo.vespa.config.content.core.StorServerConfig.Producer, com.yahoo.vespa.config.content.core.StorStatusConfig.Producer, com.yahoo.vespa.config.content.StorFilestorConfig.Producer, ConfigProducer, NetworkPortRequestor, Service, Serializable

public class StorageNode extends ContentNode implements com.yahoo.vespa.config.content.core.StorServerConfig.Producer, com.yahoo.vespa.config.content.StorFilestorConfig.Producer
Class to provide config related to a specific storage node.
See Also:
  • Method Details

    • getStartupCommand

      public Optional<String> getStartupCommand()
      Description copied from class: AbstractService
      Must be overridden by services that should be started by config-sentinel. The returned value will be used in config-sentinel configuration. Returns empty by default.
      Specified by:
      getStartupCommand in interface Service
      Overrides:
      getStartupCommand in class AbstractService
      Returns:
      empty by default.
    • getCapacity

      public double getCapacity()
    • isRetired

      public boolean isRetired()
      Whether this node is configured as retired, which means all content should migrate off the node
    • getConfig

      public void getConfig(com.yahoo.vespa.config.content.core.StorServerConfig.Builder builder)
      Specified by:
      getConfig in interface com.yahoo.vespa.config.content.core.StorServerConfig.Producer
      Overrides:
      getConfig in class ContentNode
    • getConfig

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