- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 14 for offered (0.04 seconds)
-
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) -
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) -
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) -
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) -
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) -
src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java
logger.warn("Failed to create thumbnail for {}", entity, e); } } /** * Offers a document for thumbnail generation. * * @param docMap the document data map * @return true if the task was successfully added to the queue */ public boolean offer(final Map<String, Object> docMap) { for (final ThumbnailGenerator generator : generatorList) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 01 12:47:47 GMT 2026 - 27.2K bytes - Click Count (0) -
README.md
--- ### 💬 **Community Support & Resources** The Gradle community offers a range of forums, documentation, and direct help to guide you through every step of your Gradle journey:
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Feb 12 18:58:41 GMT 2026 - 7.8K bytes - Click Count (0) -
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) -
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) -
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 theirCreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 12 16:29:02 GMT 2026 - 9.9K bytes - Click Count (0)