Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,391 for stops (0.13 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/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)
  4. 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)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonFixture.java

         */
        DaemonFixture becomesIdle();
    
        /**
         * Asserts that this daemon stops and is no longer visible to any clients within a short timeout. Blocks until this has happened.
         */
        DaemonFixture stops();
    
        /**
         * Asserts that this daemon is currently idle.
         */
        void assertIdle();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DaemonStopState.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.launcher.daemon.server;
    
    /**
     * Indicates the state of the daemon when it stops doing work.
     */
    public enum DaemonStopState {
        /**
         * Daemon was stopped cleanly and all work stopped.
         */
        Clean,
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:45:11 UTC 2024
    - 953 bytes
    - Viewed (0)
  7. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/TestClassProcessor.java

         * not use the result processor provided to {@link #startProcessing(TestResultProcessor)} after this method has
         * returned.
         */
        @Override
        void stop();
    
        /**
         * Stops any pending or asynchronous processing immediately
         *
         * Any test class assigned to this processor, but not yet run will not have results in the output.  The processor should
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. platforms/core-runtime/concurrent/src/main/java/org/gradle/internal/concurrent/AsyncStoppable.java

         * It should, however, stop accepting new work.</p>
         *
         * <p>
         * Requesting stopping does not guarantee the stoppable actually stops.
         * Requesting stopping means preparing for stopping; stopping accepting new work.
         * You have to call stop at some point anyway if your intention is to completely stop the stoppable.
         */
        void requestStop();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:35 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/hooks.go

    	LoopbackClientConfig *restclient.Config
    	// StopCh is the channel that will be closed when the server stops.
    	//
    	// Deprecated: use the PostStartHookContext itself instead, it contains a context that
    	// gets cancelled when the server stops. StopCh keeps getting provided for existing code.
    	StopCh <-chan struct{}
    	// Context gets cancelled when the server stops.
    	context.Context
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r65/ToolingApiShutdownCrossVersionSpec.groovy

        def setup() {
            waitFor = new PollingConditions(timeout: 60, initialDelay: 0, factor: 1.25)
            toolingApi.requireIsolatedDaemons()
        }
    
        @TargetGradleVersion(">=6.5")
        def "disconnect during build stops daemon"() {
            setup:
            buildFile.text = """
                task hang {
                    doLast {
                        ${server.callFromBuild("waiting")}
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top