Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for ThreadLocal (0.04 sec)

  1. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  2. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/CrawlerStatsHelperTest.java

        private static final Logger logger = LogManager.getLogger(CrawlerStatsHelperTest.class);
    
        private CrawlerStatsHelper crawlerStatsHelper;
    
        private ThreadLocal<String> localLogMsg = new ThreadLocal<>();
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            ComponentUtil.register(new SystemHelper(), "systemHelper");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 15K bytes
    - Viewed (0)
  4. 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<ArrayList<LockGraphNode>> acquiredLocks =
          new ThreadLocal<ArrayList<LockGraphNode>>() {
            @Override
            protected ArrayList<LockGraphNode> initialValue() {
              return Lists.<LockGraphNode>newArrayListWithCapacity(3);
            }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/ActivityHelperTest.java

    import org.lastaflute.web.login.credential.LoginCredential;
    
    public class ActivityHelperTest extends UnitFessTestCase {
    
        private ActivityHelper activityHelper;
    
        private ThreadLocal<String> localLogMsg = new ThreadLocal<>();
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            activityHelper = new ActivityHelper() {
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/BloomFilterTest.java

     *
     * @author Dimitris Andreou
     */
    @NullUnmarked
    public class BloomFilterTest extends TestCase {
      private static final int NUM_PUTS = 100_000;
      private static final ThreadLocal<Random> random =
          new ThreadLocal<Random>() {
            @Override
            protected Random initialValue() {
              return new Random();
            }
          };
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/BloomFilterTest.java

     *
     * @author Dimitris Andreou
     */
    @NullUnmarked
    public class BloomFilterTest extends TestCase {
      private static final int NUM_PUTS = 100_000;
      private static final ThreadLocal<Random> random =
          new ThreadLocal<Random>() {
            @Override
            protected Random initialValue() {
              return new Random();
            }
          };
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

                + "^\\s*ios-app:|" //
                + "^\\s*callto:", Pattern.CASE_INSENSITIVE);
    
        /** Thread-local XPathAPI instance for thread-safe XPath operations. */
        private final ThreadLocal<XPathAPI> xpathAPI = new ThreadLocal<>();
    
        @Override
        public ResultData transform(final ResponseData responseData) {
            if (responseData == null || !responseData.hasResponseBody()) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 28.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/ldap/LdapManager.java

     */
    public class LdapManager {
        private static final Logger logger = LogManager.getLogger(LdapManager.class);
    
        /** A thread-local variable to hold the directory context. */
        protected ThreadLocal<DirContextHolder> contextLocal = new ThreadLocal<>();
    
        /** A flag to indicate if the LDAP connection is bound. */
        protected volatile boolean isBind = false;
    
        /** The Fess configuration. */
        protected FessConfig fessConfig;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 82K bytes
    - Viewed (0)
Back to top