Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 38 for event2 (0.03 seconds)

  1. src/main/java/org/codelibs/fess/util/ErrorToWarnRewritePolicy.java

        }
    
        /**
         * Rewrites log events by converting ERROR level to WARN level for matching loggers.
         *
         * @param event the log event to potentially rewrite
         * @return the original event or a new event with WARN level if conversion applied
         */
        @Override
        public LogEvent rewrite(final LogEvent event) {
            final String loggerName = event.getLoggerName();
            if (loggerName == null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  2. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/AbstractBuildScanInfoCollectingService.kt

    import org.gradle.api.services.BuildService
    import org.gradle.api.services.BuildServiceParameters
    import org.gradle.tooling.events.FinishEvent
    import org.gradle.tooling.events.OperationCompletionListener
    import org.gradle.tooling.events.task.TaskFinishEvent
    import org.gradle.tooling.events.task.TaskOperationResult
    import java.io.Serializable
    
    /**
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Jun 10 05:45:46 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/helper/LogNotificationHelper.java

            LogNotificationEvent event;
            while ((event = queue.poll()) != null) {
                events.add(event);
                size.decrementAndGet();
            }
            return events;
        }
    
        /**
         * Represents a captured log event for notification.
         */
        public static class LogNotificationEvent {
    
            private final long timestamp;
    
    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)
  4. src/main/java/org/codelibs/fess/timer/LogNotificationTarget.java

                        source.put("level", event.getLevel());
                        source.put("loggerName", event.getLoggerName());
                        source.put("message", event.getMessage());
                        source.put("throwable", event.getThrowable() != null ? event.getThrowable() : "");
                        source.put("timestamp", event.getTimestamp());
    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)
  5. src/main/java/org/codelibs/fess/job/LogNotificationJob.java

         *
         * @param events the list of log notification events
         * @param maxDetailsLength the maximum length of the details string
         * @param maxDisplayEvents the maximum number of events to display
         * @param maxMessageLength the maximum length of each log message
         * @return the formatted details string with summary header and truncated entries
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/entity/SearchLogEvent.java

        /**
         * Gets the unique identifier for this search log event.
         *
         * @return The event ID
         */
        String getId();
    
        /**
         * Gets the version number for this search log event.
         *
         * @return The version number, or null if not versioned
         */
        Long getVersionNo();
    
        /**
         * Converts this search log event to a source map for indexing or logging.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/LogNotificationHelperTest.java

            List<LogNotificationEvent> events = helper.drainAll();
            assertEquals(2, events.size());
            assertEquals("message1", events.get(0).getMessage());
            assertEquals("message2", events.get(1).getMessage());
        }
    
        @Test
        public void test_drainAll_empty() {
            LogNotificationHelper helper = new LogNotificationHelper();
            List<LogNotificationEvent> events = helper.drainAll();
    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)
  8. src/main/java/org/codelibs/fess/util/LogNotificationAppender.java

        }
    
        @Override
        public void append(final LogEvent event) {
            final String loggerName = event.getLoggerName();
            if (loggerName != null) {
                for (final String excluded : EXCLUDED_LOGGERS) {
                    if (loggerName.startsWith(excluded)) {
                        return;
                    }
                }
            }
    
            if (!event.getLevel().isMoreSpecificThan(getEffectiveMinLevel())) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 6K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/timer/LogNotificationTargetTest.java

            // Add events to buffer
            ComponentUtil.getLogNotificationHelper()
                    .offer(new LogNotificationEvent(System.currentTimeMillis(), "ERROR", "org.test", "should remain", null));
    
            // expired() should skip when disabled
            logNotificationTarget.expired();
    
            // Buffer should still contain the event since disabled check should return early
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/chat/ChatPhaseCallbackTest.java

            assertEquals(1, events.size());
            assertEquals("start:intent:Analyzing...", events.get(0));
    
            // Test onPhaseComplete
            callback.onPhaseComplete(ChatPhaseCallback.PHASE_INTENT);
            assertEquals(2, events.size());
            assertEquals("complete:intent", events.get(1));
    
            // Test onChunk
            callback.onChunk("test content", false);
            assertEquals(3, events.size());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 12 10:32:40 GMT 2026
    - 7.3K bytes
    - Click Count (0)
Back to Top