blob: 69e8fcf99637fb57237342f7dc1befbf4ae022b5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright Yahoo. 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();
}
|