Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 32 for millisecond (0.07 seconds)

  1. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java

        }
    
        // Test boundary conditions for time adjustments
        @Test
        public void test_boundaryTimeAdjustments() {
            // Test zero boundary
            testBoundaryValue(0L);
    
            // Test one millisecond boundaries
            testBoundaryValue(1L);
            testBoundaryValue(-1L);
    
            // Test one second boundaries
            testBoundaryValue(1000L);
            testBoundaryValue(-1000L);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.8K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/crawler/interval/FessIntervalController.java

            super();
        }
    
        /**
         * Gets the delay time in milliseconds after processing a URL.
         *
         * @return the delay time in milliseconds after processing
         */
        public long getDelayMillisAfterProcessing() {
            return delayMillisAfterProcessing;
        }
    
        /**
         * Sets the delay time in milliseconds after processing a URL.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Nov 19 07:09:17 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

        /** List of command strings to execute for thumbnail generation. */
        protected List<String> commandList;
    
        /** Timeout for command execution in milliseconds. */
        protected long commandTimeout = 30 * 1000L;// 30sec
    
        /** Timeout for destroying processes in milliseconds. */
        protected long commandDestroyTimeout = 5 * 1000L;// 5sec
    
        /** Base directory for command execution. */
        protected File baseDir;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

            if (delay > 0) {
                ThreadUtil.sleep(delay);
            }
        }
    
        /**
         * Calculates the delay in milliseconds based on current time and configured rules.
         * The method checks each rule to see if it applies to the current time and day.
         *
         * @return the delay in milliseconds, or 0 if no rules apply
         */
        protected long getDelay() {
            if (ruleList.isEmpty()) {
                return 0;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Nov 23 12:34:02 GMT 2025
    - 10K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/LogNotificationHelper.java

                this.message = message;
                this.throwable = throwable;
            }
    
            /**
             * Returns the event timestamp in milliseconds.
             *
             * @return the event timestamp in milliseconds
             */
            public long getTimestamp() {
                return timestamp;
            }
    
            /**
             * Returns the log level name.
             *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/base/login/EntraIdCredential.java

                // Check if token is still valid by comparing absolute timestamps
                final long tokenExpiryTime = authResult.expiresOnDate().getTime(); // milliseconds since epoch
                final long currentTime = ComponentUtil.getSystemHelper().getCurrentTimeAsLong(); // milliseconds since epoch
                if (tokenExpiryTime < currentTime) {
                    if (logger.isDebugEnabled()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

        protected File workingDirectory = null;
    
        /** Maximum number of output lines to capture. */
        protected int maxOutputLine = 1000;
    
        /** Command execution timeout in milliseconds. */
        protected long executionTimeout = 30L * 1000L; // 30sec
    
        /** Character encoding for command output. */
        protected String commandOutputEncoding = Charset.defaultCharset().displayName();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/helper/RateLimitHelper.java

            requestCounters = CacheBuilder.newBuilder().expireAfterWrite(windowMs, TimeUnit.MILLISECONDS).maximumSize(10000).build();
    
            blockedIps = CacheBuilder.newBuilder().expireAfterWrite(blockDurationMs, TimeUnit.MILLISECONDS).maximumSize(10000).build();
    
            if (logger.isInfoEnabled()) {
    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)
  9. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

            }
            return date.format(DateTimeFormatter.ofPattern(format, Locale.ROOT));
        }
    
        /**
         * Formats a duration in milliseconds to a human-readable string.
         *
         * @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) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25.4K bytes
    - Click Count (1)
  10. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

        /** Parameter key for controlling retention of expired documents */
        private static final String KEEP_EXPIRES_DOCS = "keep_expires_docs";
    
        /**
         * Interval in milliseconds between crawler thread executions.
         * Used to control the rate at which new crawler threads are started
         * and the frequency of status checks.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 19K bytes
    - Click Count (0)
Back to Top