Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for MonitorTarget (0.07 seconds)

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

    import org.codelibs.fess.util.ComponentUtil;
    
    /**
     * Abstract base class for monitor targets that implement timeout functionality.
     */
    public abstract class MonitorTarget implements TimeoutTarget {
    
        /**
         * Default constructor.
         */
        public MonitorTarget() {
            // Default constructor
        }
    
        /**
         * Appends a key-value pair to the buffer in JSON format.
         *
    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/test/java/org/codelibs/fess/timer/HotThreadMonitorTargetTest.java

            super.setUp(testInfo);
            target = new HotThreadMonitorTarget();
        }
    
        @Test
        public void test_inheritance() {
            assertTrue(MonitorTarget.class.isAssignableFrom(HotThreadMonitorTarget.class),
                    "HotThreadMonitorTarget should extend MonitorTarget");
            assertTrue(TimeoutTarget.class.isAssignableFrom(HotThreadMonitorTarget.class),
                    "HotThreadMonitorTarget should implement TimeoutTarget");
    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/test/java/org/codelibs/fess/helper/JobHelperTest.java

            JobLog jobLog = new JobLog();
            jobLog.setId("test-log-1");
            jobLog.setJobName("Test Job");
            jobLog.setEndTime(null);
    
            MonitorTarget target = new MonitorTarget(jobLog);
            try {
                target.expired();
                // If it succeeds, check that lastUpdated is set
                assertNotNull(jobLog.getLastUpdated());
            } catch (Exception e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

            super.setUp(testInfo);
            target = new SystemMonitorTarget();
        }
    
        @Test
        public void test_inheritance() {
            assertTrue(MonitorTarget.class.isAssignableFrom(SystemMonitorTarget.class), "SystemMonitorTarget should extend MonitorTarget");
            assertTrue(TimeoutTarget.class.isAssignableFrom(SystemMonitorTarget.class), "SystemMonitorTarget should implement TimeoutTarget");
        }
    
        @Test
    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. src/main/java/org/codelibs/fess/timer/HotThreadMonitorTarget.java

    /**
     * Monitor target for tracking hot threads in the OpenSearch cluster.
     * This class extends MonitorTarget to provide monitoring functionality for
     * hot threads, which helps identify performance bottlenecks and resource
     * usage issues in the search engine cluster.
     */
    public class HotThreadMonitorTarget extends MonitorTarget {
        private static final Logger logger = LogManager.getLogger(HotThreadMonitorTarget.class);
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java

    /**
     * This class is a timer target for monitoring system-level statistics.
     * It collects and logs information about the operating system, process,
     * JVM, and search engine.
     */
    public class SystemMonitorTarget extends MonitorTarget {
        private static final Logger logger = LogManager.getLogger(SystemMonitorTarget.class);
    
        /**
         * Constructs a new system monitor target.
         */
        public SystemMonitorTarget() {
            super();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.8K bytes
    - Click Count (0)
Back to Top