- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for InputTrackingState (0.21 sec)
-
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) -
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) -
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) -
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) -
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) -
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)