- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 31 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/util/InputStreamThread.java
} } } } /** * Returns all buffered lines as a single string, separated by newlines. * * @return the concatenated output of all buffered lines */ public String getOutput() { final StringBuilder buf = new StringBuilder(100); for (final String value : list) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 4.6K 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/app/service/RelatedContentService.java
cb.query().addOrderBy_CreatedTime_Asc(); // search } /** * Retrieves a list of all available related content entities. * Results are ordered by term and limited by the configured maximum fetch size. * * @return a list of all available RelatedContent entities */ public List<RelatedContent> getAvailableRelatedContentList() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 5.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/RelatedQueryHelper.java
} load(); } /** * Retrieves a list of all available related query entities from the data store. * The results are ordered by term and limited by the configured maximum fetch size. * * @return a list of RelatedQuery entities containing all available related queries */ public List<RelatedQuery> getAvailableRelatedQueryList() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 5.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/service/GroupService.java
// setup condition cb.query().addOrderBy_Name_Asc(); // search } /** * Retrieves all available groups ordered by name in ascending order. * Limited by the configured maximum fetch size for groups. * * @return a list of all available groups */ public List<Group> getAvailableGroupList() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 5.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/service/DataConfigService.java
return dataConfigBhv.selectByPK(id); } /** * Retrieves a data configuration by its name. * * <p>If multiple configurations exist with the same name, returns the first one * ordered by sort order ascending.</p> * * @param name the name of the data configuration to retrieve * @return an OptionalEntity containing the DataConfig if found, empty otherwise
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 8K bytes - Click Count (0)