All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.yahoo.vespa.model.container.configserver.option.ConfigOptions Maven / Gradle / Ivy

There is a newer version: 8.441.21
Show newest version
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.model.container.configserver.option;

import java.util.Optional;

/**
 * @author Tony Vaagenes
 */
public interface ConfigOptions {

    class ConfigServer {
        public final String hostName;
        public final Optional port;

        public ConfigServer(String hostName, Optional port) {
            this.hostName = hostName;
            this.port = port;
        }
    }

    Optional rpcPort();
    Optional multiTenant();
    Optional hostedVespa();
    ConfigServer[] allConfigServers();
    int[] configServerZookeeperIds();
    Optional zookeeperBarrierTimeout(); //in seconds
    Optional environment();
    Optional region();
    Optional system();
    default Optional cloud() { return Optional.empty(); }
    Optional useVespaVersionInRequest();
    String zooKeeperSnapshotMethod();
    Integer zookeeperJuteMaxBuffer(); // in bytes

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy