- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 238 for isShutdown (0.3 sec)
-
guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java
ExecutionException e = assertThrows(ExecutionException.class, () -> f.get()); assertThat(e).hasCauseThat().isInstanceOf(TimeoutException.class); } finally { executor.shutdown(); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.8K bytes - Viewed (0) -
cmd/service.go
// Global service signal channel. var globalServiceSignalCh = make(chan serviceSignal) // GlobalContext context that is canceled when server is requested to shut down. // cancelGlobalContext can be used to indicate server shutdown. var GlobalContext, cancelGlobalContext = context.WithCancel(context.Background()) // restartProcess starts a new process passing it the active fd's. It // doesn't fork, but starts a new process using the same environment and
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Feb 28 07:02:14 UTC 2024 - 3.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java
/** Executor service for concurrent processing of file operations. */ private final ExecutorService executor; /** Timeout in seconds for executor service termination during shutdown. */ private int executorTerminationTimeout = 300; /** * Constructs a new FileListIndexUpdateCallbackImpl with the specified parameters. *Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 28.9K bytes - Viewed (3) -
ci/official/utilities/code_check_changed_files.bats
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Wed Jan 10 19:39:41 UTC 2024 - 4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java
} } }); } startLatch.countDown(); endLatch.await(10, TimeUnit.SECONDS); executor.shutdown(); assertEquals(0, errorCount.get()); assertEquals("concurrentName", testTransformer.getName()); } /** * Test concurrent name changes */Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 20.8K bytes - Viewed (0) -
cmd/erasure-healing-common_test.go
defer cancel() obj, disks, err := prepareErasure16(ctx) if err != nil { t.Fatalf("Prepare Erasure backend failed - %v", err) } setObjectLayer(obj) defer obj.Shutdown(t.Context()) defer removeRoots(disks) type tamperKind int const ( noTamper tamperKind = iota deletePart corruptPart ) timeSentinel := time.Unix(1, 0).UTC()
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 22.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache2/RelayTest.kt
private lateinit var file: File @BeforeEach fun setUp() { file = File(tempDir, "test") } @AfterEach fun tearDown() { executor.shutdown() } @Test fun singleSource() { val upstream = Buffer() upstream.writeUtf8("abcdefghijklm") val relay = edit(file, upstream, metadata, 1024) val source = relay.newSource()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java
} // Start all threads startLatch.countDown(); // Wait for completion assertTrue(endLatch.await(30, TimeUnit.SECONDS), "All threads should complete"); executor.shutdown(); // Then - All operations should succeed assertTrue(exceptions.isEmpty(), "No exceptions should occur");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
latch.countDown(); } }); } // Then assertTrue(latch.await(10, TimeUnit.SECONDS), "All threads should complete"); executor.shutdown(); assertEquals(0, collisions.get(), "There should be no nonce collisions"); assertEquals(threadCount * noncesPerThread, allNonces.size(), "All nonces should be unique"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
} }); } startLatch.countDown(); // Start all threads boolean completed = endLatch.await(10, TimeUnit.SECONDS); executor.shutdown(); assertTrue(completed, "All threads should complete without deadlock"); assertEquals(threadCount * operationsPerThread, completedOps.get(), "All operations should complete"); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0)