
com.yahoo.vespa.config.proxy.ConfigSourceClient Maven / Gradle / Ivy
// 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
*/
interface ConfigSourceClient {
RawConfig getConfig(RawConfig input, JRTServerConfigRequest request);
void cancel();
void shutdownSourceConnections();
String getActiveSourceConnection();
List getSourceConnections();
DelayedResponses delayedResponses();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy