- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 23 for ThreadLocal (0.18 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerContext.java
*/ protected Set<String> robotsTxtUrlSet = new LruHashSet<>(10000); /** * Thread-local storage for sitemaps. */ protected ThreadLocal<String[]> sitemapsLocal = new ThreadLocal<>(); /** The number of threads used by the crawler */ protected int numOfThread = 10; /** The maximum number of times to check for active threads. */Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 8.9K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/escape/super/com/google/common/escape/Platform.java
package com.google.common.escape; /** * @author Jesse Wilson */ final class Platform { private static final char[] CHAR_BUFFER = new char[1024]; static char[] charBufferFromThreadLocal() { // ThreadLocal is not available to GWT, so we always reuse the same // instance. It is always safe to return the same instance because // javascript is single-threaded, and only used by blocks that doesn't // involve async callbacks.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 1.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
public void run() {} }; public void testDirectExecutorServiceServiceInThreadExecution() throws Exception { ListeningExecutorService executor = newDirectExecutorService(); ThreadLocal<Integer> threadLocalCount = new ThreadLocal<Integer>() { @Override protected Integer initialValue() { return 0; } }; Runnable incrementTask = new Runnable() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 26.5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
*/ // This is logically a Set, but an ArrayList is used to minimize the amount // of allocation done on lock()/unlock(). private static final ThreadLocal<List<LockGraphNode>> acquiredLocks = new ThreadLocal<List<LockGraphNode>>() { @Override protected List<LockGraphNode> initialValue() { return newArrayListWithCapacity(3); } }; /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 11 17:06:34 UTC 2025 - 35.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CrawlingParameterUtilTest.java
* * @author shinsuke */ public class CrawlingParameterUtilTest extends PlainTestCase { @Override protected void tearDown() throws Exception { // Clean up ThreadLocal variables after each test CrawlingParameterUtil.setUrlQueue(null); CrawlingParameterUtil.setCrawlerContext(null); CrawlingParameterUtil.setUrlQueueService(null);Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 14.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractor.java
protected Map<String, String> metadataXpathMap = new HashMap<>(); /** Thread-local instance of XPathAPI for thread-safe XPath evaluation. */ private final ThreadLocal<XPathAPI> xpathAPI = new ThreadLocal<>(); /** * Creates a new HtmlExtractor instance. */ public HtmlExtractor() { super(); } @Override
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Oct 04 08:47:19 UTC 2025 - 9.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultLegacySupport.java
* particular, this component can be changed or deleted without prior notice. * * @since 3.0 */ @Named @Singleton public class DefaultLegacySupport implements LegacySupport { private static final ThreadLocal<AtomicReference<MavenSession>> SESSION = new InheritableThreadLocal<>(); @Override public void setSession(MavenSession session) { AtomicReference<MavenSession> reference = DefaultLegacySupport.SESSION.get();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/JobHelper.java
} /** Monitor interval in seconds (default: 1 hour) */ protected int monitorInterval = 60 * 60;// 1hour /** Thread-local storage for job runtime information */ protected ThreadLocal<LaJobRuntime> jobRuntimeLocal = new ThreadLocal<>(); /** * Registers a scheduled job with the job manager. * * @param scheduledJob the scheduled job to register */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 10.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/DateFormatting.kt
/** * Most websites serve cookies in the blessed format. Eagerly create the parser to ensure such * cookies are on the fast path. */ private val STANDARD_DATE_FORMAT = object : ThreadLocal<DateFormat>() { override fun initialValue(): DateFormat { // Date format specified by RFC 7231 section 7.1.1.1. return SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss 'GMT'", Locale.US).apply {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 4.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
*/ // This is logically a Set, but an ArrayList is used to minimize the amount // of allocation done on lock()/unlock(). private static final ThreadLocal<List<LockGraphNode>> acquiredLocks = new ThreadLocal<List<LockGraphNode>>() { @Override protected List<LockGraphNode> initialValue() { return newArrayListWithCapacity(3); } }; /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 11 17:06:34 UTC 2025 - 35.9K bytes - Viewed (0)