- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for Increment (0.02 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java
assertNotNull(component1); assertNotNull(component2); // Should be same instance for singleton assertSame(component1, component2); // The first creation should increment the counter assertTrue("Instance count should be at least 1", SingletonTestComponent.getInstanceCount() >= 1); } /** * Test wrap method */ public void test_wrap_basic() {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 19.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java
// Test increment assertEquals(1L, crawlerContext.incrementAndGetAccessCount()); assertEquals(1L, crawlerContext.getAccessCount()); assertEquals(2L, crawlerContext.incrementAndGetAccessCount()); assertEquals(2L, crawlerContext.getAccessCount()); // Test decrement assertEquals(1L, crawlerContext.decrementAndGetAccessCount());Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 25.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerContext.java
} /** * Returns the access count. * @return The access count. */ public long getAccessCount() { return accessCount.get(); } /** * Increments the access count and returns the new value. * @return The incremented access count. */ public long incrementAndGetAccessCount() { return accessCount.incrementAndGet(); } /**Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java
* for successful and unsuccessful computations, respectively. * </p> * * <p> * The Deferred class uses a CountDownLatch to allow you to wait for the computation to complete. * The resolve and reject methods decrement the CountDownLatch, allowing the getResponse method * to return the result of the computation. * </p> * * @param <RESPONSE> The type of the response. */ public class Deferred<RESPONSE extends Response> {
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 7.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java
*/ protected CrawlerContext crawlerContext; /** * Flag indicating whether to wait on folder operations. */ protected boolean noWaitOnFolder = false; /** * Increments the active thread count. */ protected void startCrawling() { synchronized (crawlerContext.activeThreadCountLock) { crawlerContext.activeThreadCount++; } }Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 20.4K bytes - Viewed (0)