- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for isCancellationRequested (0.25 sec)
-
subprojects/core/src/test/groovy/org/gradle/execution/plan/DefaultPlanExecutorTest.groovy
then: result.failures.empty 1 * workerLeaseService.currentWorkerLease >> workerLease then: 1 * cancellationHandler.isCancellationRequested() >> false 1 * workerLease.tryLock() >> true 1 * workSource.executionState() >> WorkSource.State.MaybeWorkReadyToStart 1 * workSource.selectNext() >> WorkSource.Selection.of(node)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 16:29:26 UTC 2024 - 4.3K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/CancelExecutionStep.java
cancellationToken.addCallback(interrupt); return delegate.execute(work, context); } finally { cancellationToken.removeCallback(interrupt); if (cancellationToken.isCancellationRequested()) { Thread.interrupted(); throw new BuildCancelledException("Build cancelled while executing " + work.getDisplayName()); } } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 16:02:33 UTC 2024 - 1.8K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/protocol/InternalCancellationToken.java
/** * Cancellation token passed from consumer to provider to propagate cancellation events. * @since 2.1-rc-1 */ public interface InternalCancellationToken { boolean isCancellationRequested(); /** * Adds a callback that will be executed when cancel event is triggered. * It can be run synchronously if the token is already cancelled. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 13:57:30 UTC 2024 - 1.4K bytes - Viewed (0) -
platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/DefaultBuildController.java
throws BuildExceptionVersion1, InternalUnsupportedModelException { assertCanQuery(); if (cancellationToken.isCancellationRequested()) { throw new BuildCancelledException(String.format("Could not build '%s' model. Build cancelled.", modelIdentifier.getName())); }
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/core-runtime/build-state/src/main/java/org/gradle/internal/buildprocess/execution/BuildSessionLifecycleBuildActionExecutor.java
} else { return BuildActionResult.of(payloadSerializer.serialize(result.getClientResult())); } } if (requestContext.getCancellationToken().isCancellationRequested()) { return BuildActionResult.cancelled(payloadSerializer.serialize(result.getBuildFailure())); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:51:37 UTC 2024 - 5.9K bytes - Viewed (0)