Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ThreadLocalInterceptorSet (0.36 sec)

  1. subprojects/core/src/testFixtures/groovy/org/gradle/internal/classpath/intercept/ThreadLocalInterceptorSet.groovy

    import java.util.concurrent.atomic.AtomicInteger
    
    abstract class ThreadLocalInterceptorSet<T> {
    
        private final AtomicInteger substitutions = new AtomicInteger(0)
        protected final ThreadLocal<T> threadLocalDecorators = ThreadLocal.withInitial { original }
    
        final T original
    
        ThreadLocalInterceptorSet(T original) {
            this.original = original
        }
    
        boolean isEmpty() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 16:29:37 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. subprojects/core/src/testFixtures/groovy/org/gradle/internal/classpath/intercept/TestInterceptorsSubstitution.groovy

                maybeRevertGlobalJvmBytecodeInterceptorFactorySet()
            }
        }
    
        @Nullable
        private ThreadLocalInterceptorSet<T> substitutionIfPresent() {
            def decorator = getCurrentInterceptorSet()
            if (decorator instanceof ThreadLocalInterceptorSet) {
                return decorator as ThreadLocalInterceptorSet<T>
            }
            return null
        }
    
        private void maybeRevertGlobalJvmBytecodeInterceptorFactorySet() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 16:29:37 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  3. subprojects/core/src/testFixtures/groovy/org/gradle/internal/classpath/intercept/GroovyInterceptorsSubstitution.groovy

            return CallInterceptorRegistry.GroovyJvmCallInterceptorInternalTesting.currentGroovyCallInterceptorSet;
        }
    
        private static class ThreadLocalCallSiteInterceptorSet extends ThreadLocalInterceptorSet<CallSiteInterceptorSet> implements CallSiteInterceptorSet {
    
            ThreadLocalCallSiteInterceptorSet(CallSiteInterceptorSet original) {
                super(original)
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 24 13:33:59 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  4. subprojects/core/src/testFixtures/groovy/org/gradle/internal/classpath/intercept/JvmInterceptorsSubstitution.groovy

            return CallInterceptorRegistry.GroovyJvmCallInterceptorInternalTesting.currentJvmBytecodeInterceptorFactorySet;
        }
    
        private static class ThreadLocalJvmBytecodeInterceptorFactorySet extends ThreadLocalInterceptorSet<JvmBytecodeInterceptorFactorySet> implements JvmBytecodeInterceptorFactorySet {
    
            ThreadLocalJvmBytecodeInterceptorFactorySet(JvmBytecodeInterceptorFactorySet original) {
                super(original)
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 24 13:33:59 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top