- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for requestCancel (0.21 sec)
-
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/exec/WatchForDisconnection.java
@Override public void run() { LOGGER.warn("thread {}: client disconnection detected, canceling the build", Thread.currentThread().getId()); execution.getDaemonStateControl().requestCancel(); } }); try { execution.proceed(); } finally { // Remove the handler execution.getConnection().onDisconnect(null); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/api/DaemonStateControl.java
*/ State getState(); /** * Requests that a running build be canceled. Note that this method does NOT block until the operation has been cancelled. */ void requestCancel(); /** * Communicates a request for build cancellation. Note that this method blocks until the operation has been cancelled. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun May 05 22:24:02 UTC 2024 - 3.6K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DaemonStateCoordinator.java
private void updateCancellationToken() { cancellationToken = new DefaultBuildCancellationToken(); cancellationToken.addCallback(onCancelCommand); } @Override public void requestCancel() { lock.lock(); try { if (state == State.Busy) { setState(State.Canceled); } else if (state == State.StopRequested) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:38 UTC 2024 - 17.1K bytes - Viewed (0) -
src/net/http/transport_test.go
run(t, func(t *testing.T, mode testMode) { if mode == http1Mode { t.Run("TransportCancel", func(t *testing.T) { runCancelTestTransport(t, mode, f) }) } t.Run("RequestCancel", func(t *testing.T) { runCancelTestChannel(t, mode, f) }) t.Run("ContextCancel", func(t *testing.T) { runCancelTestContext(t, mode, f) }) }, opts...) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 192.6K bytes - Viewed (0)