- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 67 for cancellationToken (0.32 sec)
-
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/connection/LazyConsumerActionExecutor.java
} finally { stopped = true; lock.unlock(); } } private void requestCancellation() { if (cancellationToken != null && !cancellationToken.isCancellationRequested()) { cancellationToken.cancel(); } } private void sendStopWhenIdleMessageToDaemons() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 6.7K bytes - Viewed (0) -
platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/DistributionFactoryTest.groovy
} def failsWhenInstallationDirectoryDoesNotExist() { TestFile distDir = tmpDir.file('unknown') def dist = factory.getDistribution(distDir) when: dist.getToolingImplementationClasspath(progressLoggerFactory, buildProgressListener, connectionParameters, cancellationToken) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 11.7K bytes - Viewed (0) -
platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/loader/DefaultToolingImplementationLoaderTest.groovy
.build() final BuildCancellationToken cancellationToken = Mock() final loader = new DefaultToolingImplementationLoader() def "locates connection implementation using meta-inf service then instantiates and configures the connection"() { given: distribution.getToolingImplementationClasspath(loggerFactory, progressListener, connectionParameters, cancellationToken) >> DefaultClassPath.of(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 11.2K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/CancelExecutionStepTest.groovy
import org.gradle.initialization.DefaultBuildCancellationToken class CancelExecutionStepTest extends StepSpec<Context> { def cancellationToken = new DefaultBuildCancellationToken() def step = new CancelExecutionStep<Context, Result>(cancellationToken, delegate) def delegateResult = Mock(Result) def "executes normally when cancellation is not requested"() { when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/DefaultCancellationTokenSource.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 1.8K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/execution/plan/DefaultPlanExecutor.java
ExecutorFactory executorFactory, WorkerLeaseService workerLeaseService, BuildCancellationToken cancellationToken, ResourceLockCoordinationService coordinationService, InternalOptions internalOptions ) { this.workerLimits = workerLimits; this.cancellationToken = cancellationToken; this.coordinationService = coordinationService; this.workerLeaseService = workerLeaseService;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 16:29:26 UTC 2024 - 29.1K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/ProviderConnection.java
return runClientAction(clientAction, cancellationToken, providerParameters); } @SuppressWarnings("overloads") public Object run(InternalBuildActionVersion2<?> clientAction, BuildCancellationToken cancellationToken, ProviderOperationParameters providerParameters) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 05:33:15 UTC 2024 - 30.5K bytes - Viewed (0) -
platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/DefaultBuildController.java
PayloadSerializer payloadSerializer ) { this.workerThreadRegistry = workerThreadRegistry; this.controller = controller; this.cancellationToken = cancellationToken; this.buildStateRegistry = buildStateRegistry; this.parameterCarrierFactory = parameterCarrierFactory; this.buildEventConsumer = buildEventConsumer; this.sideEffectExecutor = sideEffectExecutor;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 05 08:56:14 UTC 2024 - 8.4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/GradleBuildCancellation.groovy
@Override void cancel() { cancellationTokenSource.cancel() } @Override CancellationToken token() { return cancellationTokenSource.token() } public <T> T withCancellation(@DelegatesTo(ProjectConnection) @ClosureParams(value = SimpleType, options = ["org.gradle.tooling.CancellationToken"]) Closure<T> cl) { try { cancellationTokenSource = GradleConnector.newCancellationTokenSource()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/tooling/internal/provider/continuous/ContinuousBuildActionExecutorTest.groovy
def delegate = Mock(BuildSessionActionExecutor) def cancellationToken = new DefaultBuildCancellationToken() def buildExecutionTimer = Mock(BuildStartedTime) def requestMetadata = Stub(BuildRequestMetaData) def requestContext = new DefaultBuildRequestContext(requestMetadata, cancellationToken, new NoOpBuildEventConsumer()) def startParameter = new StartParameterInternal()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 12.7K bytes - Viewed (0)