- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for appendTimestamp (0.06 sec)
-
src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java
assertTrue(result.contains("2021") || result.contains("Jan") || result.contains("1609459200000")); } // Test appendTimestamp method public void test_appendTimestamp() { StringBuilder buf = new StringBuilder(); monitorTarget.appendTimestamp(buf); String result = buf.toString(); assertTrue(result.startsWith("\"timestamp\":\"")); assertTrue(result.endsWith("\""));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java
break; case "appendTimestamp": appendTimestampMethod = method; break; case "appendException": appendExceptionMethod = method; break; } } assertNotNull("Should inherit append method", appendMethod); assertNotNull("Should inherit appendTimestamp method", appendTimestampMethod);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/timer/HotThreadMonitorTarget.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 3.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/timer/MonitorTarget.java
return buf; } /** * Appends a timestamp to the buffer. * * @param buf the string buffer to append to * @return the updated buffer */ protected StringBuilder appendTimestamp(final StringBuilder buf) { final SystemHelper systemHelper = ComponentUtil.getSystemHelper(); append(buf, "timestamp", () -> FessFunctions.formatDate(systemHelper.getCurrentTime())); return buf; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java
buf.append("[SYSTEM MONITOR] "); buf.append('{'); appendOsStats(buf); appendProcessStats(buf); appendJvmStats(buf); appendFesenStats(buf); appendTimestamp(buf); buf.append('}'); if (logger.isInfoEnabled()) { logger.info(buf.toString()); } } private void appendJvmStats(final StringBuilder buf) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.8K bytes - Viewed (0)