Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for TimeoutManager (0.08 seconds)

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

  1. src/main/java/org/codelibs/core/timer/TimeoutManager.java

    /**
     * A class that handles timers.
     *
     * @author higa
     *
     */
    public class TimeoutManager implements Runnable {
    
        private static final Logger logger = Logger.getLogger(TimeoutManager.class);
    
        /**
         * Instance for the singleton.
         */
        protected static final TimeoutManager instance = new TimeoutManager();
    
        /**
         * {@link Thread} for the timer.
         */
        protected Thread thread;
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/LogNotificationHelperTest.java

            assertNotNull(helper);
        }
    
        @Test
        public void test_init_and_destroy() {
            LogNotificationHelper helper = new LogNotificationHelper();
            // init() registers a TimeoutTarget with TimeoutManager
            helper.init();
            // destroy() cancels the task and flushes; should not throw
            helper.destroy();
        }
    
        @Test
        public void test_destroy_beforeInit() {
    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)
  3. src/test/java/org/codelibs/core/timer/TimeoutManagerTest.java

            TimeoutManager.getInstance().start();
            assertNotNull(TimeoutManager.getInstance().thread);
            Thread.sleep(2000);
            assertEquals(count, expiredCount);
            assertEquals(1, TimeoutManager.getInstance().getTimeoutTaskCount());
            task.cancel();
            Thread.sleep(2000);
            assertEquals(0, TimeoutManager.getInstance().getTimeoutTaskCount());
            assertNull(TimeoutManager.getInstance().thread);
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/job/AllJobScheduler.java

     */
    package org.codelibs.fess.app.job;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.core.timer.TimeoutManager;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.app.logic.AccessContextLogic;
    import org.codelibs.fess.app.service.ScheduledJobService;
    import org.codelibs.fess.helper.JobHelper;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/LogNotificationHelper.java

    package org.codelibs.fess.helper;
    
    import java.util.ArrayList;
    import java.util.List;
    import java.util.concurrent.ConcurrentLinkedQueue;
    import java.util.concurrent.atomic.AtomicInteger;
    
    import org.codelibs.core.timer.TimeoutManager;
    import org.codelibs.core.timer.TimeoutTask;
    import org.codelibs.fess.timer.LogNotificationTarget;
    import org.codelibs.fess.util.ComponentUtil;
    
    import jakarta.annotation.PostConstruct;
    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)
Back to Top