Class QrConfig.Builder

  • All Implemented Interfaces:
    com.yahoo.config.ConfigBuilder, com.yahoo.config.ConfigInstance.Builder
    Enclosing class:
    QrConfig

    public static class QrConfig.Builder
    extends Object
    implements com.yahoo.config.ConfigInstance.Builder
    • Constructor Detail

      • Builder

        public Builder()
      • Builder

        public Builder​(QrConfig config)
    • Method Detail

      • filedistributor

        public QrConfig.Builder filedistributor​(Consumer<QrConfig.Filedistributor.Builder> __func)
        Make a new builder and run the supplied function on it before adding it to the list
        Parameters:
        __func - lambda that modifies the given builder
        Returns:
        this builder
      • rpc

        public QrConfig.Builder rpc​(Consumer<QrConfig.Rpc.Builder> __func)
        Make a new builder and run the supplied function on it before adding it to the list
        Parameters:
        __func - lambda that modifies the given builder
        Returns:
        this builder
      • restartOnDeploy

        public QrConfig.Builder restartOnDeploy​(boolean __value)
      • shutdown

        public QrConfig.Builder shutdown​(Consumer<QrConfig.Shutdown.Builder> __func)
        Make a new builder and run the supplied function on it before adding it to the list
        Parameters:
        __func - lambda that modifies the given builder
        Returns:
        this builder
      • dispatchGetConfig

        public final boolean dispatchGetConfig​(com.yahoo.config.ConfigInstance.Producer producer)
        Specified by:
        dispatchGetConfig in interface com.yahoo.config.ConfigInstance.Builder
      • getDefMd5

        public final String getDefMd5()
        Specified by:
        getDefMd5 in interface com.yahoo.config.ConfigInstance.Builder
      • getDefName

        public final String getDefName()
        Specified by:
        getDefName in interface com.yahoo.config.ConfigInstance.Builder
      • getDefNamespace

        public final String getDefNamespace()
        Specified by:
        getDefNamespace in interface com.yahoo.config.ConfigInstance.Builder
      • getApplyOnRestart

        public final boolean getApplyOnRestart()
        Specified by:
        getApplyOnRestart in interface com.yahoo.config.ConfigInstance.Builder
      • setApplyOnRestart

        public final void setApplyOnRestart​(boolean applyOnRestart)
        Specified by:
        setApplyOnRestart in interface com.yahoo.config.ConfigInstance.Builder