Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 512 for poll (0.02 seconds)

  1. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

            final Queue<OpenSearchUrlQueue> crawlingQueue = queueHolder.crawlingQueue;
    
            OpenSearchUrlQueue urlQueue = waitingQueue.poll();
            if (urlQueue == null) {
                synchronized (queueHolder) {
                    urlQueue = waitingQueue.poll();
                    if (urlQueue == null) {
                        final List<OpenSearchUrlQueue> urlQueueList = fetchUrlQueueList(sessionId);
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Nov 20 08:40:57 GMT 2025
    - 16.9K bytes
    - Click Count (1)
  2. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

      @CanIgnoreReturnValue
      @Override
      public @Nullable E poll() {
        Monitor monitor = this.monitor;
        if (monitor.enterIf(notEmpty)) {
          try {
            return extract();
          } finally {
            monitor.leave();
          }
        } else {
          return null;
        }
      }
    
      @CanIgnoreReturnValue
      @Override
      public @Nullable E poll(long timeout, TimeUnit unit) throws InterruptedException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 22.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java

        //                                                         Poll Loop Safety
        //                                                         ==================
    
        @Test
        public void test_poll_callsHeartbeatEventsCleanup() {
            // Verify poll calls sendHeartbeat, fetchNewEvents+dispatch, cleanupExpiredDocuments
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 58.6K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

       */
      protected void startUp() throws Exception {}
    
      /**
       * Run the service. This method is invoked on the execution thread. Implementations must respond
       * to stop requests. You could poll for lifecycle changes in a work loop:
       *
       * <pre>
       *   public void run() {
       *     while ({@link #isRunning()}) {
       *       // perform a unit of work
       *     }
       *   }
       * </pre>
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/base/FinalizableReferenceQueue.java

            finalizer != null
                ? new ReflectiveStarter(getStartFinalizer(finalizer))
                : new DirectStarter();
      }
    
      /** The actual reference queue that our background thread will poll. */
      final ReferenceQueue<Object> queue;
    
      final PhantomReference<Object> frqRef;
    
      /** Whether or not the background thread started successfully. */
      final boolean threadStarted;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 19:26:59 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java

         * notification nearly simultaneously, we sometimes receive only an interrupt. Thus, when we're
         * interrupted, we can't just poll whether it's time to end the wait because our "end the wait"
         * notification has been lost. (This is in contrast to how we can poll with, say, a
         * CountDownLatch.) In order to avoid hiding the requested notification from the caller, we need
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 23:24:32 GMT 2026
    - 22.5K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

            try {
                JobProcess jobProcess = processHelper.startProcess(sessionId, cmdList, pbCall, 1024, outputCallback);
                assertNotNull(jobProcess);
    
                // Poll for process to complete
                for (int i = 0; i < 50; i++) {
                    if (!jobProcess.getProcess().isAlive()) {
                        break;
                    }
                    Thread.sleep(100);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 16K bytes
    - Click Count (0)
  8. guava/src/com/google/common/base/FinalizableReferenceQueue.java

            finalizer != null
                ? new ReflectiveStarter(getStartFinalizer(finalizer))
                : new DirectStarter();
      }
    
      /** The actual reference queue that our background thread will poll. */
      final ReferenceQueue<Object> queue;
    
      final PhantomReference<Object> frqRef;
    
      /** Whether or not the background thread started successfully. */
      final boolean threadStarted;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 19:26:59 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

            indexUpdater.maxErrorCount = 0;
    
            // Make dataService throw runtime exception
            ((TestDataService) dataService).setThrowRuntimeException(true);
    
            indexUpdater.start();
    
            // Poll for thread to process exceptions
            for (int i = 0; i < 20; i++) {
                if (!indexUpdater.isAlive() || indexUpdater.getState() == Thread.State.WAITING
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 33.6K bytes
    - Click Count (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

     * to perform its tasks.
     * </p>
     *
     * <p>
     * The crawling process involves the following steps:
     * </p>
     * <ol>
     *   <li>Fetching a URL from the queue using {@link UrlQueueService#poll(String)}.</li>
     *   <li>Checking if the URL is valid using {@link #isValid(UrlQueue)}.</li>
     *   <li>Accessing the content using a {@link CrawlerClient} obtained from {@link CrawlerClientFactory}.</li>
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Wed Dec 31 09:07:38 GMT 2025
    - 20.3K bytes
    - Click Count (0)
Back to Top