- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for counters (0.05 sec)
-
CLAUDE.md
**Template Method**: `AbstractCrawlerClient`, `AbstractExtractor` - common logic with overrides **DI**: LastaFlute container with `@Resource` and XML config ### Core Principles **Thread Safety**: - `AtomicLong` for counters (`CrawlerContext.accessCount`) - `volatile` for status flags - Synchronized blocks for critical sections - Thread-local storage via `CrawlingParameterUtil` **Resource Management**: - `AutoCloseable` throughout
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Fri Nov 28 17:31:34 UTC 2025 - 10.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java
private CrawlerPooledObjectFactory<TestComponent> factory; private StandardCrawlerContainer container; @Override protected void setUp() throws Exception { super.setUp(); // Reset counters before each test TestComponent.resetCounter(); SingletonTestComponent.resetInstanceCount(); CloseableTestComponent.resetCounters(); // Initialize container with test componentsRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 13:07:01 UTC 2025 - 36.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/FacetResponse.java
} /** * Represents a field facet with its name and value counts. * Each field facet contains multiple values with their respective document counts. */ public static class Field { /** * Map containing field values and their document counts. * Keys are field values as strings, values are document counts. */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sun Nov 23 11:39:05 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java
/** * Map storing crawling configurations by session ID. */ protected final Map<String, CrawlingConfig> crawlingConfigMap = new ConcurrentHashMap<>(); /** * Counter for generating unique session identifiers. */ protected int count = 1; /** * Cache for storing crawling configurations to improve performance. */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 19.5K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/job/CrawlJob.java
} counter.incrementAndGet(); } else if (logger.isDebugEnabled()) { logger.debug("Scheduled job is not running: id={}", scheduledJob.getId()); } } }); return counter.get(); } /** * Executes the crawler process in a separate JVM.Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 19.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
} /** * Constructs a localized page path with language and country. * * @param page the page name * @param lang the language code * @param country the country code * @return the localized page path */ private String getLocalizedPagePath(final String page, final String lang, final String country) { final StringBuilder buf = new StringBuilder(100);Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 52.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/DataServiceImpl.java
* </p> * * <p> * The class is a singleton, and is injected using the {@link Resource} annotation. * </p> * */ public class DataServiceImpl implements DataService<AccessResultImpl<Long>> { /** Counter for generating unique IDs */ protected static volatile long idCount = 0L; /** Lock object for synchronizing access to idCount */ private static Object idCountLock = new Object();Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 6.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ldap/LdapManager.java
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 86.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java
final int maxDepth = getMaxDepth(paramMap, dataMap); long counter = 0; final Deque<CrawlRequest> requestQueue = new LinkedList<>(); final Set<String> processedUrls = new HashSet<>(); requestQueue.offer(new CrawlRequest(url, 0)); while (!requestQueue.isEmpty() && (maxAccessCount < 0 || counter < maxAccessCount)) { final CrawlRequest crawlRequest = requestQueue.poll();
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 29.7K bytes - Viewed (3) -
src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java
* Creates a new instance with default values. */ public IndexUpdateCallbackImpl() { // Default constructor } /** Atomic counter for the number of documents processed */ protected AtomicLong documentSize = new AtomicLong(0); /** Total execution time for all operations */ protected volatile long executeTime = 0;Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 10.5K bytes - Viewed (0)