Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 43 for expiration (0.23 seconds)

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

            // Guava Cache handles expiration automatically
            // Wait for cache to expire and call cleanup
            try {
                Thread.sleep(100L);
            } catch (final InterruptedException e) {
                // ignore
            }
    
            rateLimitHelper.cleanup();
            // After cleanup, the expired entry should be removed
            // Note: The actual expiration depends on the configured block duration
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 4K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/helper/RateLimitHelper.java

    import jakarta.servlet.http.HttpServletRequest;
    
    /**
     * Helper class for rate limiting functionality.
     * Implements a sliding window algorithm for request counting
     * and manages IP-based blocking using Guava Cache for automatic expiration.
     */
    public class RateLimitHelper {
    
        private static final Logger logger = LogManager.getLogger(RateLimitHelper.class);
    
        /**
         * Request counters per IP address.
    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)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc4ConnectionMonitorTarget.java

    /**
     * Hc4ConnectionMonitorTarget is responsible for monitoring and managing HTTP client connections
     * for Apache HttpComponents 4.x. It implements the TimeoutTarget interface to handle connection
     * expiration events.
     *
     * <p>This class uses an instance of HttpClientConnectionManager to manage the connections.
     * It closes expired connections and idle connections that have exceeded a specified timeout.
     * </p>
     *
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jan 04 13:09:59 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc5ConnectionMonitorTarget.java

    /**
     * Hc5ConnectionMonitorTarget is responsible for monitoring and managing HTTP client connections
     * for Apache HttpComponents 5.x. It implements the TimeoutTarget interface to handle connection
     * expiration events.
     *
     * <p>This class uses an instance of HttpClientConnectionManager to manage the connections.
     * It closes expired connections and idle connections that have exceeded a specified timeout.
     * </p>
     *
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jan 04 13:09:59 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  5. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterService.java

            } catch (final ExecutionException e) {
                throw new CrawlerSystemException(e);
            }
        }
    
        /**
         * Sets the filter cache expiration time.
         * @param filterCacheExpireAfterWrite The expiration time in seconds.
         */
        public void setFilterCacheExpireAfterWrite(final int filterCacheExpireAfterWrite) {
            this.filterCacheExpireAfterWrite = filterCacheExpireAfterWrite;
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Nov 20 08:40:57 GMT 2025
    - 9K bytes
    - Click Count (0)
  6. guava/src/com/google/common/base/Suppliers.java

       * value after the specified time has passed. Subsequent calls to {@code get()} return the cached
       * value if the expiration time has not passed. After the expiration time, a new value is
       * retrieved, cached, and returned. See: <a
       * href="http://en.wikipedia.org/wiki/Memoization">memoization</a>
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 31 21:24:28 GMT 2026
    - 16.1K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt

        /** The last modified date of the cached response, if known. */
        private var lastModified: Date? = null
        private var lastModifiedString: String? = null
    
        /**
         * The expiration date of the cached response, if known. If both this field and the max age are
         * set, the max age is preferred.
         */
        private var expires: Date? = null
    
        /**
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  8. docs/en/docs/tutorial/security/oauth2-jwt.md

    That way, you can create a token with an expiration of, let's say, 1 week. And then when the user comes back the next day with the token, you know that user is still logged in to your system.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/base/Suppliers.java

       * value after the specified time has passed. Subsequent calls to {@code get()} return the cached
       * value if the expiration time has not passed. After the expiration time, a new value is
       * retrieved, cached, and returned. See: <a
       * href="http://en.wikipedia.org/wiki/Memoization">memoization</a>
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 31 21:24:28 GMT 2026
    - 16.1K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticator.java

            private final long expiration;
    
            /**
             * Constructs StateData with nonce and expiration.
             * @param nonce The nonce value.
             * @param expiration The expiration timestamp.
             */
            public StateData(final String nonce, final long expiration) {
                this.nonce = nonce;
                this.expiration = expiration;
            }
    
            /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 08:03:27 GMT 2026
    - 56.8K bytes
    - Click Count (0)
Back to Top