Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 27 for asSeconds (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/org/codelibs/fess/helper/AbstractConfigHelperTest.java

            configHelper.setLoadCallback(() -> {
                latch.countDown();
                return 1;
            });
    
            configHelper.update();
    
            assertTrue("Load method should be called within 5 seconds", latch.await(5, TimeUnit.SECONDS));
            assertEquals(1, configHelper.getLoadCallCount());
        }
    
        @Test
        public void test_update_multipleCallsIncrementLoadCount() throws InterruptedException {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

        protected final ConcurrentHashMap<String, JobProcess> runningProcessMap = new ConcurrentHashMap<>();
    
        /** Timeout in seconds for process destruction */
        protected int processDestroyTimeout = 10;
    
        /** Timeout in seconds for stream closing operations */
        protected int streamCloseTimeout = 10;
    
        /**
         * Default constructor for ProcessHelper.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 06:54:47 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

            this.encryptedCookieValue = encryptedCookieValue;
        }
    
        /**
         * Sets the maximum age of the role information in seconds.
         * @param maxAge The maximum age of the role information in seconds.
         */
        public void setMaxAge(final long maxAge) {
            this.maxAge = maxAge;
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

        protected int maxRedirectCount;
    
        /** 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.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 29.7K bytes
    - Click Count (3)
  5. src/main/java/org/codelibs/fess/helper/RateLimitHelper.java

                return false;
            }
    
            return true;
        }
    
        /**
         * Get the Retry-After header value in seconds.
         * @return the retry after seconds
         */
        public int getRetryAfterSeconds() {
            return ComponentUtil.getFessConfig().getRateLimitRetryAfterSecondsAsInteger();
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Dec 24 14:16:27 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/filter/RateLimitFilter.java

            response.getWriter()
                    .write("{\"error\":\"rate_limit_exceeded\",\"message\":\"Too many requests. Please retry after " + retryAfterSeconds
                            + " seconds.\",\"retry_after\":" + retryAfterSeconds + "}");
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Dec 24 14:16:27 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/LogNotificationHelperTest.java

                    } finally {
                        doneLatch.countDown();
                    }
                });
            }
    
            startLatch.countDown();
            assertTrue(doneLatch.await(30, TimeUnit.SECONDS));
            executor.shutdown();
    
            // Drain remaining
            totalDrained.addAndGet(helper.drainAll().size());
    
            // Total drained should be <= total offered (some may be dropped at capacity)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/filter/LoadControlFilter.java

            response.getWriter()
                    .write("{\"response\":{\"status\":9,\"message\":\"Server is busy. Please retry after " + RETRY_AFTER_SECONDS
                            + " seconds.\",\"retry_after\":" + RETRY_AFTER_SECONDS + "}}");
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Tue Feb 10 04:24:02 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/chat/ChatSessionManager.java

            // Default constructor
        }
    
        /**
         * Initializes the session manager and starts the cleanup scheduler.
         */
        @PostConstruct
        public void init() {
            // 5 minutes = 300 seconds
            cleanupTask = TimeoutManager.getInstance().addTimeoutTarget(this::cleanupExpiredSessions, 300, true);
            if (logger.isDebugEnabled()) {
                logger.debug("Initialized ChatSessionManager");
            }
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 13:27:59 GMT 2026
    - 13.7K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/helper/JobHelper.java

        /**
         * Default constructor.
         */
        public JobHelper() {
            // Default constructor
        }
    
        /** Monitor interval in seconds (default: 1 hour) */
        protected int monitorInterval = 60 * 60;// 1hour
    
        /** Thread-local storage for job runtime information */
        protected ThreadLocal<LaJobRuntime> jobRuntimeLocal = new ThreadLocal<>();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 10.9K bytes
    - Click Count (0)
Back to Top