Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,109 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/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)
  5. 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)
  6. 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)
  7. 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)
  8. src/runtime/heap_test.go

    	_ "unsafe"
    )
    
    //go:linkname heapObjectsCanMove runtime.heapObjectsCanMove
    func heapObjectsCanMove() bool
    
    func TestHeapObjectsCanMove(t *testing.T) {
    	if heapObjectsCanMove() {
    		// If this happens (or this test stops building),
    		// it will break go4.org/unsafe/assume-no-moving-gc.
    		t.Fatalf("heap objects can move!")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 18:35:49 UTC 2023
    - 529 bytes
    - Viewed (0)
  9. 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)
  10. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/timeout/Timeout.java

     */
    
    package org.gradle.internal.execution.timeout;
    
    /**
     * Represents a timeout for some piece of work.
     */
    public interface Timeout {
        /**
         * Stops the timeout and returns whether the work did time out.
         */
        boolean stop();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 854 bytes
    - Viewed (0)
Back to top