- Sort Score
- Num 10 results
- Language All
Results 211 - 220 of 309 for isShutdown (0.57 seconds)
-
cmd/erasure-sets.go
} return storageInfo } // Shutdown shutsdown all erasure coded sets in parallel // returns error upon first error. func (s *erasureSets) Shutdown(ctx context.Context) error { g := errgroup.WithNErrs(len(s.sets)) for index := range s.sets { g.Go(func() error { return s.sets[index].Shutdown(ctx) }, index) } for _, err := range g.Wait() { if err != nil {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 37K bytes - Click Count (1) -
src/test/java/org/codelibs/fess/suggest/SuggesterIndexLifecycleTest.java
} @Test public void test_shutdown() throws Exception { Suggester suggester = createSuggester(); // Should not throw suggester.shutdown(); }Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 14 02:35:38 GMT 2026 - 13.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/CoordinatorHelper.java
/** * Stops the poll loop and removes the heartbeat document on shutdown. */ @PreDestroy public void destroy() { if (pollTask != null) { pollTask.cancel(); } try { removeHeartbeat(); } catch (final Exception e) { logger.debug("Failed to remove heartbeat on shutdown.", e); } if (logger.isInfoEnabled()) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 33.3K bytes - Click Count (0) -
build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java
pkill(pid); }); } else { forEachLeakingJavaProcess(rootProjectDir, (pid, line) -> { System.out.println("A process wasn't shutdown properly in a previous Gradle run. Killing process with PID " + pid + ": " + line); pkill(pid); }); } } private static void initExecutionMode(String[] args) {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Sep 23 13:49:45 GMT 2025 - 12K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
break; } } } /** Waits out termination of a thread pool or fails doing so. */ final void joinPool(ExecutorService exec) throws InterruptedException { try { exec.shutdown(); assertTrue( "ExecutorService did not terminate in a timely manner", exec.awaitTermination(2 * LONG_DELAY_MS, MILLISECONDS)); } catch (SecurityException ok) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 8.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/QueuesTest.java
private ExecutorService threadPool; @Override public void setUp() { threadPool = newCachedThreadPool(); } @Override public void tearDown() throws InterruptedException { threadPool.shutdown(); assertTrue("Some worker didn't finish in time", threadPool.awaitTermination(10, SECONDS)); } private static <T> int drain( BlockingQueue<T> q, Collection<? super T> buffer,
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Nov 04 17:24:58 GMT 2025 - 12.6K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Service.java
/** Returns the lifecycle state of the service. */ State state(); /** * If the service is {@linkplain State#STARTING starting} or {@linkplain State#RUNNING running}, * this initiates service shutdown and returns immediately. If the service is {@linkplain * State#NEW new}, it is {@linkplain State#TERMINATED terminated} without having been started nor
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 10.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 06:03:38 GMT 2026 - 29.1K bytes - Click Count (0) -
cmd/test-utils_test.go
} // Deleting the temporary backend and stopping the server. func (testServer TestServer) Stop() { testServer.cancel() testServer.Server.Close() testServer.Obj.Shutdown(context.Background()) os.RemoveAll(testServer.Root) for _, ep := range testServer.Disks { for _, disk := range ep.Endpoints { os.RemoveAll(disk.Path) } } }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 77K bytes - Click Count (0) -
android/guava/src/com/google/common/io/FileBackedOutputStream.java
File temp = TempFileCreator.INSTANCE.createTempFile("FileBackedOutputStream"); if (resetWhenGarbageCollected) { // References are not guaranteed to be collected on system shutdown; this is insurance. temp.deleteOnExit(); } FileOutputStream transfer = null; try { transfer = new FileOutputStream(temp);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 17:30:49 GMT 2026 - 12.4K bytes - Click Count (0)