- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for dropend (0.03 seconds)
-
src/test/java/org/codelibs/fess/helper/LogNotificationHelperTest.java
helper.offer(new LogNotificationEvent(i, "ERROR", "org.test", "msg" + i, null)); } List<LogNotificationEvent> events = helper.drainAll(); // The newest events should be retained; oldest dropped // Last event should be msg1099 LogNotificationEvent last = events.get(events.size() - 1); assertEquals("msg1099", last.getMessage()); } @Test
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) -
src/main/java/org/codelibs/fess/helper/LogNotificationHelper.java
if (logNotificationTarget != null) { logNotificationTarget.flush(); } } /** * Offers an event to the buffer. If the buffer exceeds the maximum size, the oldest event is dropped. * * @param event the log notification event to add */ public void offer(final LogNotificationEvent event) { int maxBufferSize; try {
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)