blob: fe3bd271f2f3541ab1906f474d8eebfb0a2be770 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
// Copyright Yahoo. 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 CloudConfigOptions {
class ConfigServer {
public final String hostName;
public final Optional<Integer> port;
public ConfigServer(String hostName, Optional<Integer> port) {
this.hostName = hostName;
this.port = port;
}
}
Optional<Integer> rpcPort();
Optional<Boolean> multiTenant();
Optional<Boolean> hostedVespa();
ConfigServer[] allConfigServers();
int[] configServerZookeeperIds();
Optional<Integer> zookeeperClientPort();
String[] configModelPluginDirs();
Optional<Long> sessionLifeTimeSecs();
Optional<Long> zookeeperBarrierTimeout(); //in seconds
Optional<Integer> zookeeperElectionPort();
Optional<Integer> zookeeperQuorumPort();
Optional<String> environment();
Optional<String> region();
Optional<String> system();
Optional<Boolean> useVespaVersionInRequest();
Optional<String> loadBalancerAddress();
Optional<String> athenzDnsSuffix();
Optional<String> ztsUrl();
}
|