aboutsummaryrefslogtreecommitdiffstats
path: root/config/src/main/java/com/yahoo/vespa/config/Connection.java
blob: ea6419c62e172c40ca504c97e9620af6a10d7953 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// 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;

/**
 * @author hmusum
 */
public interface Connection {

    void invokeAsync(Request request, double jrtTimeout, RequestWaiter requestWaiter);

    void invokeSync(Request request, double jrtTimeout);

    String getAddress();

}