Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 12 for offered (0.04 seconds)

  1. src/test/java/org/codelibs/fess/helper/LogNotificationHelperTest.java

        }
    
        @Test
        public void test_offer_and_drainAll() {
            LogNotificationHelper helper = new LogNotificationHelper();
            helper.offer(new LogNotificationEvent(1000L, "ERROR", "com.example.Foo", "message1", "throwable1"));
            helper.offer(new LogNotificationEvent(2000L, "WARN", "com.example.Bar", "message2", null));
    
            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)
  2. src/main/java/org/codelibs/fess/helper/LogNotificationHelper.java

                maxBufferSize = 1000;
            }
            queue.offer(event);
            if (size.incrementAndGet() > maxBufferSize) {
                if (queue.poll() != null) {
                    size.decrementAndGet();
                }
            }
        }
    
        /**
         * Drains all events from the buffer and returns them as a list.
         *
         * @return a list of all buffered events
         */
        public List<LogNotificationEvent> drainAll() {
    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)
  3. src/main/java/org/codelibs/fess/timer/LogNotificationTarget.java

    import org.codelibs.fess.util.ComponentUtil;
    import org.opensearch.action.bulk.BulkRequestBuilder;
    import org.opensearch.action.bulk.BulkResponse;
    
    /**
     * A timer target that periodically flushes buffered log notification events
     * to an OpenSearch index for downstream processing.
     */
    public class LogNotificationTarget implements TimeoutTarget {
    
        /**
         * Default constructor.
         */
    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)
  4. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

            Map<String, Object> docMap = new HashMap<>();
            docMap.put("_id", "docid1");
            docMap.put("url", "http://example.com");
    
            boolean result = thumbnailManager.offer(docMap);
            assertTrue(result);
        }
    
        // Test offer with no matching generator
        @Test
        public void test_offer_noMatchingGenerator() {
            TestThumbnailGenerator generator = new TestThumbnailGenerator();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 20.4K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/timer/LogNotificationTargetTest.java

            // Add events to buffer
            ComponentUtil.getLogNotificationHelper()
                    .offer(new LogNotificationEvent(System.currentTimeMillis(), "ERROR", "org.test", "msg1", null));
            ComponentUtil.getLogNotificationHelper()
                    .offer(new LogNotificationEvent(System.currentTimeMillis(), "WARN", "org.test", "msg2", null));
    
    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)
  6. architecture/standards/0002-avoid-using-java-serialization.md

    - **Size of Serialized Data:**
    Java serialization tends to produce larger serialized objects because it includes class metadata and other overhead.
    
    - **Flexibility and Control:**
    Java serialization offers limited control over the serialization process, such as excluding certain fields, customizing naming conventions, and handling complex data structures more gracefully.
    
    - **Security:**
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 05 14:05:45 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/general/EditForm.java

         */
        @Size(max = 1000)
        public String defaultLabelValue;
    
        /**
         * Default sort order for search results.
         * Defines how search results are ordered when no specific sort is requested.
         */
        @Size(max = 1000)
        public String defaultSortValue;
    
        /**
         * Virtual host configuration for multi-tenant setups.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  8. LICENSE

          this License, each Contributor hereby grants to You a perpetual,
          worldwide, non-exclusive, no-charge, royalty-free, irrevocable
          (except as stated in this section) patent license to make, have made,
          use, offer to sell, sell, import, and otherwise transfer the Work,
          where such license applies only to those patent claims licensable
          by such Contributor that are necessarily infringed by their
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 12 16:29:02 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/util/LogNotificationAppender.java

                    event.getLevel().name(), //
                    loggerName, //
                    event.getMessage().getFormattedMessage(), //
                    throwableStr //
            );
            helper.offer(notificationEvent);
        }
    
        private Level getEffectiveMinLevel() {
            try {
                final String levelStr = ComponentUtil.getSystemProperties().getProperty("fess.log.notification.level");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 6K bytes
    - Click Count (0)
  10. architecture/standards/0010-gradle-properties-naming.md

    The number of existing Gradle properties is already in the double digits. More properties will be added in the future.
    Although properties offer the benefit of precise user-side control and support gradual evolution practices, the high number of properties also presents challenges.
    
    The main challenge on the user side is comprehensibility.
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 06 09:25:54 GMT 2026
    - 8K bytes
    - Click Count (0)
Back to Top