blob: f636e72382881ebd30be6e88fbc90690657d002c (
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
|
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.config.proxy;
import com.yahoo.vespa.config.RawConfig;
import com.yahoo.vespa.config.protocol.JRTServerConfigRequest;
import java.util.List;
/**
* A client to a config source, which could be an RPC config server or some other backing for
* getting config.
*
* @author hmusum
* @since 5.1.9
*/
interface ConfigSourceClient {
RawConfig getConfig(RawConfig input, JRTServerConfigRequest request);
void cancel();
void shutdownSourceConnections();
String getActiveSourceConnection();
List<String> getSourceConnections();
}
|