Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 83 for threadLocal (0.4 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/CrawlingParameterUtil.java

    public final class CrawlingParameterUtil {
        private static final ThreadLocal<UrlQueue<?>> URL_QUEUE_THREAD_LOCAL = new ThreadLocal<>();
    
        private static final ThreadLocal<CrawlerContext> ROBOT_CONTEXT_THREAD_LOCAL = new ThreadLocal<>();
    
        private static final ThreadLocal<UrlQueueService<UrlQueue<?>>> URL_QUEUE_SERVICE_THREAD_LOCAL = new ThreadLocal<>();
    
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/escape/Platform.java

        return requireNonNull(DEST_TL.get());
      }
    
      /**
       * A thread-local destination buffer to keep us from creating new buffers. The starting size is
       * 1024 characters. If we grow past this we don't put it back in the threadlocal, we just keep
       * going and grow as needed.
       */
      private static final ThreadLocal<char[]> DEST_TL =
          new ThreadLocal<char[]>() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/exceptions/DefaultMultiCauseException.java

            inputStream.defaultReadObject();
            hideCause = threadLocal();
        }
    
        private void writeObject(java.io.ObjectOutputStream out) throws IOException {
            // Ensure fields are initialized before serialization
            String ignored = getMessage();
            out.defaultWriteObject();
        }
    
        private ThreadLocal<Boolean> threadLocal() {
            return new HideStacktrace();
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/permissions/KaAnalysisPermissionRegistry.kt

        private val threadLocalExplicitAnalysisRestriction: ThreadLocal<KaExplicitAnalysisRestriction?> =
            ThreadLocal.withInitial { null }
    
        private val threadLocalAllowOnEdt: ThreadLocal<Boolean> =
            ThreadLocal.withInitial { false }
    
        private val threadLocalAllowInWriteAction: ThreadLocal<Boolean> =
            ThreadLocal.withInitial { false }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 17:22:24 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/escape/Platform.java

        return requireNonNull(DEST_TL.get());
      }
    
      /**
       * A thread-local destination buffer to keep us from creating new buffers. The starting size is
       * 1024 characters. If we grow past this we don't put it back in the threadlocal, we just keep
       * going and grow as needed.
       */
      private static final ThreadLocal<char[]> DEST_TL =
          new ThreadLocal<char[]>() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/RuleContext.java

    import javax.annotation.Nullable;
    import java.util.ArrayDeque;
    import java.util.Deque;
    
    public class RuleContext {
    
        private static final ThreadLocal<Deque<ModelRuleDescriptor>> STACK = ThreadLocal.withInitial(ArrayDeque::new);
    
        @Nullable
        public static ModelRuleDescriptor get() {
            return STACK.get().peek();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  7. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/cacheops/CacheAccessOperationsStack.java

     * limitations under the License.
     */
    
    package org.gradle.cache.internal.cacheops;
    
    public class CacheAccessOperationsStack {
        @SuppressWarnings("ThreadLocalUsage")
        private final ThreadLocal<CacheOperationStack> stackForThread = new ThreadLocal<>();
    
        public void pushCacheAction() {
            CacheOperationStack stack = getOrCreateStack();
            stack.pushCacheAction();
        }
    
        public void popCacheAction() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:31 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/internal/classpath/PerThreadInstrumentedGroovyCallsTracker.java

    @NonNullApi
    public class PerThreadInstrumentedGroovyCallsTracker implements InstrumentedGroovyCallsTracker {
        private final ThreadLocal<InstrumentedGroovyCallsTracker> perThreadImplementation;
    
        public PerThreadInstrumentedGroovyCallsTracker(Supplier<InstrumentedGroovyCallsTracker> implementationSupplier) {
            perThreadImplementation = ThreadLocal.withInitial(implementationSupplier);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 24 15:57:59 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/eventbus/Dispatcher.java

        private final ThreadLocal<Queue<Event>> queue =
            new ThreadLocal<Queue<Event>>() {
              @Override
              protected Queue<Event> initialValue() {
                return Queues.newArrayDeque();
              }
            };
    
        /** Per-thread dispatch state, used to avoid reentrant event dispatching. */
        private final ThreadLocal<Boolean> dispatching =
            new ThreadLocal<Boolean>() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/eventbus/Dispatcher.java

        private final ThreadLocal<Queue<Event>> queue =
            new ThreadLocal<Queue<Event>>() {
              @Override
              protected Queue<Event> initialValue() {
                return Queues.newArrayDeque();
              }
            };
    
        /** Per-thread dispatch state, used to avoid reentrant event dispatching. */
        private final ThreadLocal<Boolean> dispatching =
            new ThreadLocal<Boolean>() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 7.3K bytes
    - Viewed (0)
Back to top