- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 186 for ShutDown (0.12 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/SocksProxyTest.kt
@StartStop private val server = MockWebServer() private val socksProxy = SocksProxy() @BeforeEach fun setUp() { socksProxy.play() } @AfterEach fun tearDown() { socksProxy.shutdown() } @Test fun proxy() { server.enqueue(MockResponse.Builder().body("abc").build()) server.enqueue(MockResponse.Builder().body("def").build()) val client = clientTestRule
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 3.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ForwardingExecutorServiceTest.java
throw new AssertionError( "ForwardingExecutorService should have used the default method" + " ExecutorService.close() (which would forward to methods like shutdown() on" + " the delegate) instead of forwarding to delegate.close()"); } }; ExecutorService wrapper = new ForwardingExecutorService() { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 18:45:52 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 14.2K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java
ListeningScheduledExecutorService executor = TestingExecutors.noOpScheduledExecutor(); assertFalse(executor.isShutdown()); assertFalse(executor.isTerminated()); executor.shutdown(); assertTrue(executor.isShutdown()); assertTrue(executor.isTerminated()); } public void testNoOpScheduledExecutorInvokeAll() throws ExecutionException, InterruptedException {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 3.7K bytes - Viewed (0) -
guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java
ListeningScheduledExecutorService executor = TestingExecutors.noOpScheduledExecutor(); assertFalse(executor.isShutdown()); assertFalse(executor.isTerminated()); executor.shutdown(); assertTrue(executor.isShutdown()); assertTrue(executor.isTerminated()); } public void testNoOpScheduledExecutorInvokeAll() throws ExecutionException, InterruptedException {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 3.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt
* ``` * * ## Shutdown Isn't Necessary * * The threads and connections that are held will be released automatically if they remain idle. But * if you are writing a application that needs to aggressively release unused resources you may do * so. * * Shutdown the dispatcher's executor service with [shutdown()][ExecutorService.shutdown]. This will
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 51.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/LeaseManager.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProviderTest.java
} @Test public void testShutdown() { // Should not throw exception assertDoesNotThrow(() -> provider.shutdown()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 4.2K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/QueueDispatcher.kt
}, ) } public open fun setFailFast(failFastResponse: MockResponse?) { this.failFastResponse = failFastResponse } private companion object { /** * Enqueued on shutdown to release threads waiting on [dispatch]. Note that this response * isn't transmitted because the connection is closed before this response is returned. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 14 16:09:26 UTC 2025 - 2.9K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractListeningExecutorService.java
* with the abstract {@link #execute execute(Runnable)} method. * * <p>In addition to {@link #execute}, subclasses must implement all methods related to shutdown and * termination. * * @author Chris Povirk * @since 14.0 */ @CheckReturnValue @GwtIncompatible public abstract class AbstractListeningExecutorService extends AbstractExecutorService
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 17:47:46 UTC 2025 - 3K bytes - Viewed (0)