blob: ae850e68255f1189e9759c7eeb1d93b58078ab83 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.config;
import com.yahoo.jrt.Request;
import com.yahoo.jrt.RequestWaiter;
import java.time.Duration;
/**
* @author hmusum
*/
public interface Connection {
void invokeAsync(Request request, Duration jrtTimeout, RequestWaiter requestWaiter);
void invokeSync(Request request, Duration jrtTimeout);
String getAddress();
}
|