blob: 6758d6f94d6656c2f8ac542d3d4247b42676ee49 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
package com.yahoo.vespa.jaxrs.client;
import java.time.Duration;
/**
* @author hakonhall
*/
public interface JaxRsTimeouts {
/**
* The connect timeout, which must be at least 1ms.
*
* Throws com.google.common.util.concurrent.UncheckedTimeoutException on timeout.
*/
Duration getConnectTimeoutOrThrow();
/**
* The read timeout, which must be at least 1ms.
*
* Throws com.google.common.util.concurrent.UncheckedTimeoutException on timeout.
*/
Duration getReadTimeoutOrThrow();
}
|