Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 14 of 14 for TimeoutTarget (0.06 seconds)

  1. src/main/java/org/codelibs/fess/timer/MonitorTarget.java

    import org.codelibs.core.timer.TimeoutTarget;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.helper.SystemHelper;
    import org.codelibs.fess.taglib.FessFunctions;
    import org.codelibs.fess.util.ComponentUtil;
    
    /**
     * Abstract base class for monitor targets that implement timeout functionality.
     */
    public abstract class MonitorTarget implements TimeoutTarget {
    
        /**
         * Default constructor.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/timer/LogNotificationTarget.java

    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.timer.TimeoutTarget;
    import org.codelibs.fess.helper.LogNotificationHelper;
    import org.codelibs.fess.helper.LogNotificationHelper.LogNotificationEvent;
    import org.codelibs.fess.opensearch.client.SearchEngineClient;
    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)
  3. src/test/java/org/codelibs/core/timer/TimeoutManagerTest.java

        }
    
        /**
         * @throws Exception
         */
        public void testExpired() throws Exception {
            TimeoutTask task = TimeoutManager.getInstance().addTimeoutTarget(new TimeoutTarget() {
                public void expired() {
                    System.out.println("expired");
                    expiredCount++;
                }
            }, 1, true);
    
            assertNotNull(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/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)
Back to Top