CloseableHttpClient client=HttpClients.custom().setDefaultRequestConfig(RequestConfig.custom().setSocketTimeout(socketTimeout).setConnectTimeout(connectionTimeout).build()).build(); | CloseableHttpClient client=HttpClients.custom().setDefaultRequestConfig(RequestConfig.custom().setSocketTimeout(Math.toIntExact(socketTimeout)).setConnectTimeout(Math.toIntExact(connectionTimeout)).build()).build(); | RequestConfig.custom().setSocketTimeout(socketTimeout).setConnectTimeout(connectionTimeout).build() | RequestConfig.custom().setSocketTimeout(Math.toIntExact(socketTimeout)).setConnectTimeout(Math.toIntExact(connectionTimeout)).build() | hadoop | 2f3068bc7296fbc03bcc337828ca088b20eb0a2e | org.apache.hadoop.ozone.client.OzoneClientUtils | | _1 | connectionTimeout |
---|
_2 | connectionTimeout |
---|
| TCIVar | connectionTimeout |
---|
v0 | socketTimeout |
---|
v2 | RequestConfig.custom() |
---|
| | TCIVar | connectionTimeout |
---|
v0 | socketTimeout |
---|
v2 | RequestConfig.custom() |
---|
| Uses | True |