Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 40 for Sleeps (0.04 seconds)

  1. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

                    }
                }
                currentProcess = null;
    
            }
        }
    
        /**
         * Monitor thread that handles process timeout and termination.
         * This thread sleeps for the specified timeout duration and terminates the process if it hasn't finished.
         */
        protected static class MonitorThread extends Thread {
            /** The process to monitor. */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

          afe.initCause(t);
          throw afe;
        }
      }
    
      /**
       * Delays, via Thread.sleep, for the given millisecond delay, but if the sleep is shorter than
       * specified, may re-sleep or yield until time elapses.
       */
      @SuppressWarnings("ThreadPriorityCheck") // TODO: b/175898629 - Consider onSpinWait?
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:07:52 GMT 2025
    - 37.8K bytes
    - Click Count (0)
  3. .github/workflows/smokeshow.yml

                if smokeshow upload htmlcov; then
                    echo "Smokeshow upload success!"
                    break
                fi
                echo "Smokeshow upload error, sleep 1 sec and try again."
                sleep 1
              done
            env:
              SMOKESHOW_GITHUB_STATUS_DESCRIPTION: Coverage {coverage-percentage}
              SMOKESHOW_GITHUB_COVERAGE_THRESHOLD: 100
              SMOKESHOW_GITHUB_CONTEXT: coverage
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 17:36:42 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java

            // Create next index - this is the main method we're testing
            Thread.sleep(1000); // Wait before creating next index (following existing test pattern)
            suggester.createNextIndex();
            Thread.sleep(100);
    
            // Verify that createNextIndex completed without exceptions
            // The update alias should now point to the new index
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/ds/AbstractDataStore.java

                }
            }
            return readInterval;
        }
    
        /**
         * Sleep for the specified interval.
         * @param interval The interval.
         */
        protected void sleep(final long interval) {
            ThreadUtil.sleepQuietly(interval);
        }
    
        /**
         * Store the data.
         * @param dataConfig The data configuration.
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/TestThread.java

        checkNotNull(methodName);
        checkNotNull(arguments);
        assertEquals(false, invokeMethod("hasQueuedThread", this));
        sendRequest(methodName, arguments);
        Thread.sleep(DUE_DILIGENCE_MILLIS);
        assertEquals(true, invokeMethod("hasQueuedThread", this));
        assertThat(responseQueue.poll()).isNull();
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 21:00:51 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

            suggester.indexer().addElevateWord(elevateWord, true);
            suggester.refresh();
    
            // Minimal sleep to ensure timestamp separation (reduced from 2000ms to 100ms total)
            Thread.sleep(50);
            ZonedDateTime threshold = ZonedDateTime.now();
            Thread.sleep(50);
    
            // Index new data after threshold
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 37.4K bytes
    - Click Count (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/s3/S3ClientTest.java

                    setupMinioClient(bucketName, endpoint);
                    break;
                } catch (final Exception e) {
                    logger.warn("[{}] {}", i + 1, e.getMessage());
                }
                ThreadUtil.sleep(1000L);
            }
        }
    
        private void setupMinioClient(String bucketName, String endpoint) throws Exception {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Dec 11 07:57:44 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/storage/StorageClientTest.java

                    setupMinioClient(bucketName, endpoint);
                    break;
                } catch (final Exception e) {
                    logger.warn("[{}] {}", i + i, e.getMessage());
                }
                ThreadUtil.sleep(1000L);
            }
        }
    
        private void setupMinioClient(String bucketName, String endpoint) throws Exception {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/gcs/GcsClientTest.java

                    setupGcsClient(bucketName, endpoint);
                    break;
                } catch (final Exception e) {
                    logger.warn("[{}] {}", i + 1, e.getMessage());
                }
                ThreadUtil.sleep(1000L);
            }
        }
    
        private void setupGcsClient(String bucketName, String endpoint) throws Exception {
            Storage storage = StorageOptions.newBuilder()//
                    .setProjectId(PROJECT_ID)//
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 19.6K bytes
    - Click Count (0)
Back to Top