- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for requestCancel (0.13 sec)
-
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)