- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for requestStop (0.22 sec)
-
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DaemonStateCoordinatorTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun May 05 22:24:02 UTC 2024 - 16.3K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/hub/MessageHubTest.groovy
def dispatcher = hub.getOutgoing("channel", String) dispatcher.dispatch("message 1") dispatcher.dispatch("message 2") when: operation.requestStop { hub.requestStop() } hub.stop() then: 1 * listener.messageDiscarded("message 1") >> { thread.block() instant.message1Handled }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 21.8K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/MessageHub.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 16.2K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DaemonStateCoordinator.java
} } } finally { lock.unlock(); } } @Override public void requestStop(String reason) { lock.lock(); try { if (state != State.StopRequested && state != State.Stopped && state != State.ForceStopped) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:38 UTC 2024 - 17.1K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/Daemon.java
} if (expirationCheck == IMMEDIATE_EXPIRE) { stateControl.requestForcefulStop(result.getReason()); } else { stateControl.requestStop(result.getReason()); } } } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:38 UTC 2024 - 12.9K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/ConcurrentTestUtil.groovy
threads.each { it.completesBefore(timeout) } } void stop(int timeoutValue, TimeUnit timeoutUnits) { throw new UnsupportedOperationException() } void requestStop() { throw new UnsupportedOperationException() } void execute(Runnable runnable) { threads.add(owner.startThread(runnable)) } void shutdown() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 22.9K bytes - Viewed (0)