- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 184 for InterruptedException (0.62 sec)
-
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
* response is ready. */ @Test fun dispatchBlocksWaitingForEnqueue() { Thread { try { Thread.sleep(1000) } catch (ignored: InterruptedException) { } server.enqueue( MockResponse.Builder() .body("enqueued in the background") .build(), ) }.start()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 23.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
} try { log.debug("Waiting for transport"); transport.wait(); } catch ( InterruptedException ie ) { throw new SmbException(ie.getMessage(), ie); } } return cs; } /** * * {@inheritDoc} *
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:06:39 UTC 2023 - 29.6K 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 Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 22.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java
} else { latch.countDown(); } } try { latch.await(); } catch (InterruptedException e) { result.addErrorArtifactException( new ArtifactResolutionException("Resolution interrupted", rootArtifact, e)); } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 24.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt
} readerToClose?.closeQuietly() streamsToClose?.closeQuietly() } /** For testing: force this web socket to release its threads. */ @Throws(InterruptedException::class) fun tearDown() { taskQueue.shutdown() taskQueue.idleLatch().await(10, TimeUnit.SECONDS) } @Synchronized fun sentPingCount(): Int = sentPingCount
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 01 14:21:25 UTC 2024 - 22.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java
} /** * Tests that a ServiceManager can be fully shut down if one of its failure listeners is slow or * even permanently blocked. */ public void testListenerDeadlock() throws InterruptedException { final CountDownLatch failEnter = new CountDownLatch(1); final CountDownLatch failLeave = new CountDownLatch(1); final CountDownLatch afterStarted = new CountDownLatch(1); Service failRunService =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:51:36 UTC 2024 - 25.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtAddress.java
return null; } while( LOOKUP_TABLE.containsKey( name )) { try { LOOKUP_TABLE.wait(); } catch( InterruptedException e ) { } } } obj = getCachedAddress( name ); if( obj == null ) { synchronized( LOOKUP_TABLE ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 30.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
} if (response.errorCode != 0) { checkStatus( req, resp ); } } catch( InterruptedException ie ) { throw new TransportException( ie ); } finally { response_map.remove( req ); } }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 31.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
client = client.newBuilder() .addNetworkInterceptor( Interceptor { chain: Interceptor.Chain -> try { latch.await() } catch (e: InterruptedException) { throw AssertionError(e) } chain.proceed(chain.request()) }, ) .build() val call = client.newCall(Request(server.url("/a")))
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 142.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
val authenticator = okhttp3.Authenticator { route: Route?, response: Response? -> responses.offer(response!!.body.string()) try { latch.await() } catch (e: InterruptedException) { throw AssertionError() } response.request } val blockingAuthClient = client.newBuilder() .authenticator(authenticator) .build()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 75.3K bytes - Viewed (0)