- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for setTime (0.16 sec)
-
samples/crawler/src/main/java/okhttp3/sample/Crawler.java
Thread currentThread = Thread.currentThread(); String originalName = currentThread.getName(); currentThread.setName("Crawler " + url); try { fetch(url); } catch (IOException e) { System.out.printf("XXX: %s %s%n", url, e); } finally { currentThread.setName(originalName); } } } public void fetch(HttpUrl url) throws IOException {
Java - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Aug 12 07:26:27 GMT 2021 - 4.6K bytes - Viewed (0)