Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,901 for stops (0.04 sec)

  1. platforms/core-runtime/concurrent/src/main/java/org/gradle/internal/concurrent/ManagedExecutor.java

        /**
         * Stops accepting new jobs and blocks until all currently executing jobs have been completed.
         */
        @Override
        void stop();
    
        /**
         * Stops accepting new jobs and blocks until all currently executing jobs have been completed. Once the given
         * timeout has been reached, forcefully stops remaining jobs and throws an exception.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:35 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/SingleUseDaemonIntegrationTest.groovy

            and:
            daemons.daemon.stops()
        }
    
        def "stops single use daemon when build fails"() {
            requireJvmArg('-Xmx64m')
    
            file('build.gradle') << "throw new RuntimeException('bad')"
    
            when:
            fails()
    
            then:
            wasForked()
            failureHasCause "bad"
    
            and:
            daemons.daemon.stops()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 13:41:21 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonLifecycleSpec.groovy

        @Requires(UnitTestPreconditions.NotWindows)
        def "daemon stops immediately if stop is requested and then client disconnects"() {
            when:
            startBuild()
            waitForBuildToWait()
    
            then:
            busy()
            // Cause the daemon to want to stop
            daemonContext {
                File registry = new DaemonDir(executer.daemonBaseDir).registry
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DaemonStateCoordinatorTest.groovy

        def "can stop multiple times"() {
            expect:
            notStopped
    
            when: "stopped first time"
            coordinator.stop()
    
            then: "stops"
            stopped
    
            when: "requested again"
            coordinator.stop()
    
            then:
            stopped
            0 * _._
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:24:02 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  5. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/ConnectionAcceptor.java

        Address getAddress();
    
        /**
         * Stops accepting incoming connections.
         */
        @Override
        void requestStop();
    
        /**
         * Stops accepting incoming connections and blocks until the accept action has completed executing for any queued connections.
         */
        @Override
        void stop();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/process/internal/worker/request/RequestProtocol.java

        /**
         * Runs the given request in the worker process, then stops the worker process.
         * <p>
         * If the worker process can handle multiple requests, the worker process will stop after the request is completed.
         *
         * @param request The request to run.
         */
        void runThenStop(Request request);
    
        /**
         * Stops the worker process.
         */
        void stop();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 04 09:27:37 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskTimeoutIntegrationTest.groovy

                assertOutputContains("Requesting stop of task ':block' as it has exceeded its configured timeout of 500ms.")
            }
    
            and:
            taskLogging(":block") == [
                "Requesting stop of task ':block' as it has exceeded its configured timeout of 500ms."
            ]
        }
    
        def "additional logging is emitted when task is slow to stop"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r21/CancellationCrossVersionSpec.groovy

    class CancellationCrossVersionSpec extends ToolingApiSpecification {
        def setup() {
            settingsFile << '''
    rootProject.name = 'cancelling'
    '''
        }
    
        def "early cancel stops the build before beginning"() {
            buildFile << """
    throw new GradleException("should not run")
    """
            def cancel = GradleConnector.newCancellationTokenSource()
            def resultHandler = new TestResultHandler()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 4K bytes
    - Viewed (0)
  9. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/ObjectConnection.java

         * sending incoming messages.
         */
        @Override
        void requestStop();
    
        /**
         * Performs a graceful stop of this connection. Stops accepting outgoing messages. Blocks until all incoming messages
         * have been handled, and all outgoing messages have been forwarded to the peer.
         */
        @Override
        void stop();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r22/ClientShutdownCrossVersionSpec.groovy

            }
            toolingApi.daemons.daemon.assertIdle()
    
            when:
            toolingApi.close()
    
            then:
            toolingApi.daemons.daemon.stops()
        }
    
        def "cleans up busy daemons once they become idle when tooling API session is shutdown"() {
            given:
            server.start()
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top