Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 238 for isShutdown (0.04 sec)

  1. .github/workflows/CheckBadMerge.groovy

                System.exit(1)
            }
    
            List<String> commits = Files.readAllLines(Paths.get(args[0]))
            try {
                commits.each { checkCommit(it) }
            } finally {
                THREAD_POOL.shutdown()
            }
        }
    
        static void checkCommit(String commit) {
            List<String> parentCommits = parentCommitsOf(commit)
            if (parentCommits.size() != 2) {
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Fri Jan 24 10:03:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. 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 (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. ci/official/utilities/code_check_changed_files.bats

        echo "You have to re-generate the TF API goldens and have the API changes reviewed."
        echo "Look at the instructions for ':api_compatibility_test -- --update_goldens=True'"
    }
    
    teardown_file() {
        bazel shutdown
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Wed Jan 10 19:39:41 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/timer/TimeoutManager.java

                if (logger.isDebugEnabled()) {
                    logger.debug("TimeoutManagerThread stopped.");
                }
                thread = null;
                try {
                    executorService.shutdown();
                    executorService.awaitTermination(60, TimeUnit.SECONDS);
                } catch (final InterruptedException e) {
                    if (logger.isDebugEnabled()) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  10. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

          executor.execute(() -> {
            try {
              drainQueue();
            } catch (Throwable e) {
              e.printStackTrace();
            }
          });
        }
        executor.shutdown();
      }
    
      private void drainQueue() throws Exception {
        for (HttpUrl url; (url = queue.take()) != null; ) {
          if (!fetchedUrls.add(url)) {
            continue;
          }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jul 23 00:58:06 UTC 2025
    - 5K bytes
    - Viewed (0)
Back to top