Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 128 for expired (0.11 seconds)

  1. src/test/java/org/codelibs/fess/timer/LogNotificationTargetTest.java

            assertNotNull(target);
        }
    
        @Test
        public void test_expired_emptyBuffer() {
            // expired() with empty buffer is no-op (no exception)
            logNotificationTarget.expired();
        }
    
        @Test
        public void test_flush_callsExpired() {
            // flush() delegates to expired(); with empty buffer, no-op (no exception)
            logNotificationTarget.flush();
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/timer/HotThreadMonitorTargetTest.java

        }
    
        @Test
        public void test_expired_method_exists() throws Exception {
            assertNotNull(HotThreadMonitorTarget.class.getMethod("expired"), "expired method should exist");
        }
    
        @Test
        public void test_expired_method_can_be_called() {
            try {
                target.expired();
            } catch (Exception e) {
                // Expected that it may fail due to missing dependencies in test environment
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/chat/ChatSessionManager.java

                        .forEach(sessionCache::remove);
            }
        }
    
        /**
         * Checks if a session is expired.
         *
         * @param session the session to check
         * @return true if the session is expired
         */
        protected boolean isExpired(final ChatSession session) {
            final int timeoutMinutes = getSessionTimeoutMinutes();
    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)
  4. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

        }
    
        @Test
        public void test_expired_method_exists() throws Exception {
            assertNotNull(SystemMonitorTarget.class.getMethod("expired"), "expired method should exist");
        }
    
        @Test
        public void test_expired_method_can_be_called() {
            // Instead of directly calling expired() which may fail due to system dependencies
            // in test environments, we test that the method exists and can be invoked
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  5. internal/lru/lru.go

    		c.onEvict(e.Key, e.Value)
    	}
    }
    
    // deleteExpired deletes expired records from the oldest bucket, waiting for the newest entry
    // in it to expire first.
    func (c *LRU[K, V]) deleteExpired() {
    	c.mu.Lock()
    	bucketIdx := c.nextCleanupBucket
    	timeToExpire := time.Until(c.buckets[bucketIdx].newestEntry)
    	// wait for newest entry to expire before cleanup without holding lock
    	if timeToExpire > 0 {
    		c.mu.Unlock()
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/cache/ReferenceEntry.java

     *
     * <p>Valid:
     *
     * <ul>
     *   <li>Live: valid key/value are set
     *   <li>Loading: loading is pending
     * </ul>
     *
     * <p>Invalid:
     *
     * <ul>
     *   <li>Expired: time expired (key/value may still be set)
     *   <li>Collected: key/value was partially collected, but not yet cleaned up
     *   <li>Unset: marked as unset, awaiting cleanup or reuse
     * </ul>
     */
    @GwtIncompatible
    @J2ktIncompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  7. guava/src/com/google/common/cache/ReferenceEntry.java

     *
     * <p>Valid:
     *
     * <ul>
     *   <li>Live: valid key/value are set
     *   <li>Loading: loading is pending
     * </ul>
     *
     * <p>Invalid:
     *
     * <ul>
     *   <li>Expired: time expired (key/value may still be set)
     *   <li>Collected: key/value was partially collected, but not yet cleaned up
     *   <li>Unset: marked as unset, awaiting cleanup or reuse
     * </ul>
     */
    @GwtIncompatible
    @J2ktIncompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/timer/LogNotificationTarget.java

        private static final String NOTIFICATION_QUEUE_INDEX = "fess_log.notification_queue";
        private static final int BATCH_SIZE = 100;
        private volatile boolean indexChecked = false;
    
        @Override
        public void expired() {
            try {
                if (!ComponentUtil.getFessConfig().isLogNotificationEnabled()) {
                    return;
                }
            } catch (final Exception e) {
                return;
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/helper/CoordinatorHelper.java

                    if (deleted != null && deleted.longValue() > 0 && logger.isDebugEnabled()) {
                        logger.debug("Cleaned up expired documents: count={}", deleted);
                    }
                }
            } catch (final Exception e) {
                logger.debug("Failed to cleanup expired documents.", e);
            }
        }
    
        // ===================================================================================
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 33.3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java

        }
    
        @Test
        public void test_getType_immutability() {
            // Test that getType returns the same value consistently
            String type = "ApiKey";
            String message = "API key expired";
            InvalidAccessTokenException exception = new InvalidAccessTokenException(type, message);
    
            String firstCall = exception.getType();
            String secondCall = exception.getType();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
Back to Top