Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for InputTrackingState (0.2 sec)

  1. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/InputTrackingState.kt

     * the configuration time is not really an input, because the value of the value source itself
     * becomes part of the configuration cache fingerprint.
     */
    @ServiceScope(Scope.BuildTree::class)
    class InputTrackingState {
        private
        var inputTrackingDisabledCounterForThread by ThreadLocal.withInitial { 0 }
    
        /**
         * Returns input tracking status for the current thread.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. platforms/enterprise/enterprise/src/main/java/org/gradle/internal/enterprise/impl/DefaultDevelocityPluginUnsafeConfigurationService.java

            this.inputTrackingState = inputTrackingState;
        }
    
        @Override
        public <T> T withConfigurationInputTrackingDisabled(Supplier<T> supplier) {
            inputTrackingState.disableForCurrentThread();
            try {
                return supplier.get();
            } finally {
                inputTrackingState.restoreForCurrentThread();
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/InputTrackingStateTest.kt

    
    class InputTrackingStateTest {
    
        @Test
        fun `input tracking is enabled by default`() {
            val state = InputTrackingState()
    
            assertTrue(state.isEnabledForCurrentThread())
        }
    
        @Test
        fun `input tracking can be disabled`() {
            val state = InputTrackingState()
            state.disableForCurrentThread()
    
            assertFalse(state.isEnabledForCurrentThread())
        }
    
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. platforms/enterprise/enterprise/src/test/groovy/org/gradle/internal/enterprise/impl/DefaultGradleEnterprisePluginBackgroundJobExecutorsTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.enterprise.impl
    
    import org.gradle.internal.cc.impl.InputTrackingState
    import spock.lang.Specification
    
    import java.util.concurrent.FutureTask
    import java.util.concurrent.RejectedExecutionException
    
    class DefaultGradleEnterprisePluginBackgroundJobExecutorsTest extends Specification {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/initialization/ConfigurationCacheProblemsListener.kt

        private val problemFactory: ProblemFactory,
        private val configurationTimeBarrier: ConfigurationTimeBarrier,
        private val workExecutionTracker: WorkExecutionTracker,
        private val inputTrackingState: InputTrackingState
    ) : ConfigurationCacheProblemsListener {
    
        override fun disallowedAtExecutionInjectedServiceAccessed(injectedServiceType: Class<*>, getterName: String, consumer: String) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintWriter.kt

        private val workExecutionTracker: WorkExecutionTracker,
        private val environmentChangeTracker: ConfigurationCacheEnvironmentChangeTracker,
        private val inputTrackingState: InputTrackingState,
    ) : ValueSourceProviderFactory.ValueListener,
        ValueSourceProviderFactory.ComputationListener,
        WorkInputListener,
        ScriptExecutionListener,
        UndeclaredBuildInputListener,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintController.kt

        private val problemFactory: ProblemFactory,
        private val workExecutionTracker: WorkExecutionTracker,
        private val environmentChangeTracker: ConfigurationCacheEnvironmentChangeTracker,
        private val inputTrackingState: InputTrackingState,
        private val scriptFileResolverListeners: ScriptFileResolverListeners,
        private val remoteScriptUpToDateChecker: RemoteScriptUpToDateChecker,
        private val agentStatus: AgentStatus,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheServices.kt

                add(DefaultBuildModelControllerServices::class.java)
                add(DefaultBuildToolingModelControllerFactory::class.java)
                add(ConfigurationCacheRepository::class.java)
                add(InputTrackingState::class.java)
                add(InstrumentedInputAccessListener::class.java)
                add(InstrumentedExecutionAccessListener::class.java)
                add(IsolatedActionCodecsFactory::class.java)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top