Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for kuwait (0.04 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java

            // Create multiple threads that all try to connect simultaneously
            for (int i = 0; i < threadCount; i++) {
                new Thread(() -> {
                    try {
                        startLatch.await(); // Wait for signal to start
                        conn.connect();
                        successCount.incrementAndGet();
                    } catch (Exception e) {
                        synchronized (exceptions) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java

            // Create multiple threads that all try to connect simultaneously
            for (int i = 0; i < threadCount; i++) {
                new Thread(() -> {
                    try {
                        startLatch.await(); // Wait for signal to start
                        conn.connect();
                        successCount.incrementAndGet();
                    } catch (Exception e) {
                        synchronized (exceptions) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  3. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java

            final List<String> allUrls = new ArrayList<>();
    
            for (int i = 0; i < numThreads; i++) {
                new Thread(() -> {
                    try {
                        startLatch.await();
                        int count = 0;
                        while (count < itemsPerThread) {
                            final OpenSearchUrlQueue polled = urlQueueService.poll(sessionId);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:40:57 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

                    }
                }, "ProcessCloser-output-" + sessionId).start();
    
                try {
                    latch.await(streamCloseTimeout, TimeUnit.SECONDS);
                } catch (final InterruptedException e) {
                    logger.warn("Interrupted to wait a process.", e);
                }
                try {
                    process.destroyForcibly().waitFor(processDestroyTimeout, TimeUnit.SECONDS);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 06:54:47 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/HostIntervalControllerTest.java

                    executor.shutdownNow();
                }
            }
    
            long elapsed = (System.nanoTime() - time) / 1000000;
            long wait = waittime * (numTasks - 1);
            assertTrue(elapsed + " >= " + wait, elapsed + 1L >= wait);
        }
    
        /**
         * Test that different hosts can be accessed concurrently without delay
         */
        public void test_multipleHosts_concurrent() {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

            }
            return values;
        }
    
        /**
         * Sets the wait time in milliseconds when the crawler is not running.
         *
         * @param crawlerWaitMillis the wait time in milliseconds
         */
        public void setCrawlerWaitMillis(final long crawlerWaitMillis) {
            this.crawlerWaitMillis = crawlerWaitMillis;
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Nov 23 12:34:02 UTC 2025
    - 10K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

            awaitTermination(0);
        }
    
        /**
         * Waits for the crawling process to terminate for a specified duration.
         * @param millis The maximum time to wait in milliseconds. A value of 0 means wait indefinitely.
         */
        public void awaitTermination(final long millis) {
            if (parentThread != null) {
                try {
                    if (logger.isDebugEnabled()) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 17K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/gcs/GcsClientTest.java

    import org.codelibs.fess.crawler.helper.impl.MimeTypeHelperImpl;
    import org.dbflute.utflute.core.PlainTestCase;
    import org.testcontainers.containers.GenericContainer;
    import org.testcontainers.containers.wait.strategy.Wait;
    
    import com.google.cloud.NoCredentials;
    import com.google.cloud.storage.BlobId;
    import com.google.cloud.storage.BlobInfo;
    import com.google.cloud.storage.BucketInfo;
    import com.google.cloud.storage.Storage;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/HostIntervalController.java

                    long currentTime = SystemUtil.currentTimeMillis();
                    long delayTime = lastValue + delayMillisBeforeProcessing - currentTime;
                    while (delayTime > 0) {
                        lastTime.wait(delayTime);
                        currentTime = SystemUtil.currentTimeMillis();
                        delayTime = lastTime.get() + delayMillisBeforeProcessing - currentTime;
                    }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

                    logger.error("Failed to update suggest index.", t);
                    exitCode.set(1);
                    latch.countDown();
                });
    
                try {
                    latch.await();
                } catch (final InterruptedException ignore) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Interrupted.", ignore);
                    }
                    exitCode.set(1);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 11.1K bytes
    - Viewed (0)
Back to top