blob: e63e4ce3af640073da48fd02f09d0d76a21b59f3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.config.model.api;
/**
* Provides information about a configserver instance.
*
* @author Tony Vaagenes
*/
public interface ConfigServerSpec {
String getHostName();
int getConfigServerPort();
// TODO: Remove when latest model version in use is 7.47
default int getHttpPort() { return getConfigServerPort() + 1; }
int getZooKeeperPort();
}
|