- Sort Score
- Num 10 results
- Language All
Results 1 - 8 of 8 for MonitorTarget (0.08 seconds)
-
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) -
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) -
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) -
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) -
src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java
buf.append(","); monitorTarget.append(buf, "key3", () -> null); assertEquals("\"key1\":\"value1\",\"key2\":123,\"key3\":null", buf.toString()); } // Test append with empty string @Test public void test_append_emptyString() { StringBuilder buf = new StringBuilder(); Supplier<Object> supplier = () -> "";
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/JobHelper.java
*/ static class MonitorTarget implements TimeoutTarget { /** The job log being monitored */ private final JobLog jobLog; /** * Constructor for MonitorTarget. * * @param jobLog the job log to monitor */ public MonitorTarget(final JobLog jobLog) { this.jobLog = jobLog; }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 10.9K bytes - Click Count (0) -
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) -
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)