- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 153 for InterruptedException (0.1 sec)
-
src/test/java/org/codelibs/fess/helper/RelatedContentHelperTest.java
mockBhv.setTestData(testData); relatedContentHelper.update(); // Give a moment for async execution try { Thread.sleep(100); } catch (InterruptedException e) { // ignore } results = relatedContentHelper.getRelatedContents("test"); assertEquals("Updated Content", results[0]); } // Helper methods
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 14.3K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt
processResponse(response, hostname, responses, failures) latch.countDown() } }, ) } try { latch.await() } catch (e: InterruptedException) { failures.add(e) } } private fun processResponse( response: Response, hostname: String, results: MutableList<InetAddress>, failures: MutableList<Exception>,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat May 10 11:15:14 UTC 2025 - 8.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt
it is Canceled || it is RequestFailed || it is ResponseFailed private fun sleep(delayMillis: Int) { try { Thread.sleep(delayMillis.toLong()) } catch (e: InterruptedException) { Thread.currentThread().interrupt() } } private fun cancelLater( call: Call, delayMillis: Int, ): CountDownLatch { val latch = CountDownLatch(1) Thread {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 9.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java
if (taskList.size() > thumbnailTaskBulkSize) { storeQueue(taskList); } } } catch (final InterruptedException e) { if (generating && logger.isDebugEnabled()) { logger.debug("Interupted task.", e); } } catch (final Exception e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 26.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/FluentFuture.java
@CanIgnoreReturnValue @Override @ParametricNullness public final V get() throws InterruptedException, ExecutionException { return super.get(); } @CanIgnoreReturnValue @Override @ParametricNullness public final V get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException { return super.get(timeout, unit); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/RelatedQueryHelperTest.java
mockBhv.setTestData(testData); relatedQueryHelper.update(); // Give a moment for async execution try { Thread.sleep(100); } catch (InterruptedException e) { // ignore } results = relatedQueryHelper.getRelatedQueries("test"); assertEquals("updated", results[0]); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 16.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ProcessHelper.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt
val canceledException = IOException("canceled due to $t") canceledException.initCause(t) responseCallback.onFailure(this@RealCall, canceledException) } if (t is InterruptedException) { Thread.currentThread().interrupt() } else { throw t } } finally { client.dispatcher.finished(this) } } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:30:11 UTC 2025 - 17.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java
logger.info("[EXEC TIME] crawling time: {}ms", execTime); } indexUpdater.setFinishCrawling(true); try { indexUpdater.join(); } catch (final InterruptedException e) { logger.warn("Interrupted index update.", e); } crawlingInfoHelper.putToInfoMap(Constants.WEB_FS_INDEX_EXEC_TIME, Long.toString(indexUpdater.getExecuteTime()));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 24.9K bytes - Viewed (0) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
* response is ready. */ @Test fun dispatchBlocksWaitingForEnqueue() { Thread { try { Thread.sleep(1000) } catch (ignored: InterruptedException) { } server.enqueue(MockResponse().setBody("enqueued in the background")) }.start() val connection = server.url("/").toUrl().openConnection() val inputStream = connection.getInputStream()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 03 13:16:34 UTC 2025 - 22.3K bytes - Viewed (0)