- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for test_concurrent_stores (0.06 seconds)
-
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java
callback.store(new DataStoreParams(), new HashMap<>()); // Execution time should be greater than 0 assertTrue(callback.getExecuteTime() >= 10L); } @Test public void test_concurrent_stores() { // Test thread-safe implementation final AtomicLong counter = new AtomicLong(0); IndexUpdateCallback callback = new IndexUpdateCallback() { @Override
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 12.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java
indexUpdateCallback.store(paramMap, dataMap); // Should keep existing doc_id assertEquals("existing-doc-id", dataMap.get("doc_id")); } @Test public void test_concurrentStore() throws Exception { // Test thread safety final int threadCount = 10; final int docsPerThread = 10; final List<Thread> threads = new ArrayList<>();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 24.7K bytes - Click Count (0)