Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 115 for expired (0.04 sec)

  1. src/test/java/jcifs/internal/witness/WitnessRegistrationTest.java

            // After update, should not be expired with long timeout
            assertFalse(registration.isExpired(60000));
    
            // Verify heartbeat was actually updated
            assertTrue(registration.getLastHeartbeat() > initialTime);
        }
    
        @Test
        void testExpiration() throws InterruptedException {
            // Registration should not be expired initially with long timeout
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/timer/TimeoutTask.java

            this.permanent = permanent;
            this.startTime = System.currentTimeMillis();
        }
    
        /**
         * Returns whether the task has expired.
         *
         * @return whether the task has expired
         */
        public boolean isExpired() {
            return System.currentTimeMillis() >= startTime + timeoutMillis;
        }
    
        /**
         * Returns whether the task is permanent.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/timer/HotThreadMonitorTargetTest.java

        }
    
        public void test_expired_method_exists() throws Exception {
            assertNotNull("expired method should exist", HotThreadMonitorTarget.class.getMethod("expired"));
        }
    
        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
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/witness/WitnessRegistration.java

            return heartbeatFailures;
        }
    
        /**
         * Checks if this registration has expired based on the timeout.
         *
         * @param timeoutMs the timeout in milliseconds
         * @return true if the registration is expired
         */
        public boolean isExpired(long timeoutMs) {
            return System.currentTimeMillis() - lastHeartbeat > timeoutMs;
        }
    
        // Getters and setters
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/job/PurgeDocJob.java

    import org.codelibs.fess.util.ComponentUtil;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.index.query.QueryBuilders;
    
    /**
     * Job for purging expired documents from the search index.
     * This job removes documents that have passed their expiration time based on the expires field.
     * It helps maintain the search index by cleaning up outdated content automatically.
     */
    public class PurgeDocJob {
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcConnectionMonitorTarget.java

        /*
         * (non-Javadoc)
         *
         * @see org.seasar.extension.timer.TimeoutTarget#expired()
         */
        @Override
        public void expired() {
            if (clientConnectionManager == null) {
                logger.warn("clientConnectionManager is null.");
                return;
            }
    
            try {
                // Close expired connections
                clientConnectionManager.closeExpiredConnections();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

        }
    
        public void test_expired_method_exists() throws Exception {
            assertNotNull("expired method should exist", SystemMonitorTarget.class.getMethod("expired"));
        }
    
        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
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/timer/TimeoutManager.java

            if (thread != null) {
                return thread.isInterrupted();
            }
            return true;
        }
    
        /**
         * Returns the list of expired {@link TimeoutTask}.
         *
         * @return the list of expired {@link TimeoutTask}
         */
        protected synchronized List<TimeoutTask> getExpiredTask() {
            final List<TimeoutTask> expiredTask = new ArrayList<>();
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  9. 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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 18:34:30 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AccessTimeoutTarget.java

            runningThread = thread;
            running.set(true);
        }
    
        /**
         * {@inheritDoc}
         *
         * @see org.codelibs.core.timer.TimeoutTarget#expired()
         */
        @Override
        public void expired() {
            int count = 0;
            while (running.get() && count < MAX_LOOP_COUNT) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Interrupt {}", runningThread);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top