- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for Increments (0.03 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerContext.java
return accessCount.get(); } /** * Increments the access count and returns the new value. * @return The incremented access count. */ public long incrementAndGetAccessCount() { return accessCount.incrementAndGet(); } /** * Decrements the access count and returns the new value. * @return The decremented access count. */
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 8.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java
*/ protected boolean noWaitOnFolder = false; /** * Increments the active thread count. */ protected void startCrawling() { synchronized (crawlerContext.activeThreadCountLock) { crawlerContext.activeThreadCount++; } } /** * Decrements the active thread count. */ protected void finishCrawling() {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 20.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java
assertEquals(1L, crawlerContext.decrementAndGetAccessCount()); // Test large increments for (int i = 0; i < 1000; i++) { crawlerContext.incrementAndGetAccessCount(); } assertEquals(1001L, crawlerContext.getAccessCount()); // Test large decrements for (int i = 0; i < 500; i++) { 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/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)