Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 72 for delays (0.04 sec)

  1. src/main/java/org/codelibs/fess/helper/ThemeHelper.java

         */
        public ThemeHelper() {
            // Default constructor
        }
    
        /**
         * Installs a theme from the given artifact.
         * Extracts theme files from the JAR and deploys them to appropriate directories.
         *
         * @param artifact the theme artifact to install
         * @throws ThemeException if installation fails
         */
        public void install(final Artifact artifact) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/RobotsTxtTest.java

            assertEquals("MyBot", directive.getUserAgent());
            assertEquals(0, directive.getCrawlDelay());
        }
    
        public void test_directiveCrawlDelay() {
            // Test Directive crawl delay
            Directive directive = new Directive("MyBot");
    
            directive.setCrawlDelay(10);
            assertEquals(10, directive.getCrawlDelay());
    
            directive.setCrawlDelay(0);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

                            log.debug("Change notification failed for: " + handle.getDirectoryPath(), e);
                            incrementFailureCount(handle);
                            // Exponential backoff with max 8 seconds delay (up to MAX_RETRY_DELAY)
                            try {
                                long retryDelay = Math.min(MAX_RETRY_DELAY,
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/service/SearchLogService.java

        /**
         * Deletes search logs older than the specified number of days.
         *
         * @param days Number of days to keep (logs older than this will be deleted)
         */
        public void deleteBefore(final int days) {
            searchLogBhv.queryDelete(cb -> {
                cb.query().setRequestedAt_LessEqual(systemHelper.getCurrentTimeAsLocalDateTime().minusDays(days));
            });
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerThreadTest.java

            crawlerContext.setStatus(CrawlerStatus.RUNNING);
            crawlerContext.maxThreadCheckCount = 1; // Will exit after 1 check
    
            crawlerThread.run();
    
            verify(intervalController, times(1)).delay(IntervalController.NO_URL_IN_QUEUE);
        }
    
        /**
         * Test isContinue with active threads still running.
         */
        public void test_isContinue_withActiveThreads() throws Exception {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

         *
         * @param durationMillis the duration in milliseconds
         * @return formatted duration string (e.g., "2 days 14:30:25.123" or "14:30:25.123")
         */
        public static String formatDuration(final long durationMillis) {
            return DurationFormatUtils.formatDuration(durationMillis, "d 'days' HH:mm:ss.SSS").replace("0 days", StringUtil.EMPTY).trim();
    
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 25.4K bytes
    - Viewed (1)
  7. src/test/java/jcifs/netbios/LmhostsTest.java

            // First read
            NbtAddress result = lmhosts.getByName("TESTHOST", mockContext);
            assertNotNull(result);
    
            // Modify file with a delay to ensure different lastModified time
            Thread.sleep(100);
            try (FileWriter writer = new FileWriter(lmhostsFile)) {
                writer.write("192.168.1.200 NEWHOST\n");
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

                        logger.debug("Interrupted.", e);
                    }
                }
            }
        }
    
        /**
         * Sets the crawling execution interval.
         * This interval controls the delay between starting new crawler threads
         * and the frequency of status checks during crawling operations.
         *
         * @param crawlingExecutionInterval interval in milliseconds
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 19K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java

        }
    
        /**
         * Test implementation of IntervalController for testing
         */
        private static class TestIntervalController implements IntervalController {
            @Override
            public void delay(int type) {
            }
    
            public void delayBeforeProcessing() {
            }
    
            public void delayAfterProcessing() {
            }
    
            public void delayAtNoUrlInQueue() {
            }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

            /** Number of in-flight fetch operations */
            public int numberOfInFlightFetch;
            /** Number of pending tasks */
            public int numberOfPendingTasks;
            /** Number of delayed unassigned shards */
            public int delayedUnassignedShards;
            /** Number of unassigned shards */
            public int unassignedShards;
            /** Number of initializing shards */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.7K bytes
    - Viewed (0)
Back to top