Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 265 for Stopped (0.1 sec)

  1. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/async/AsyncConsumerActionExecutor.java

         * complete. Note that the action may have completed by the time this method returns.
         *
         * @throws IllegalStateException When this connection has been stopped or is stopping.
         */
        <T> void run(ConsumerAction<? extends T> action, ResultHandlerVersion1<? super T> handler);
    
        /**
         * Stops this connection, blocking until all operations on the connection have completed.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/cacher/ready_test.go

    	if ready.check() {
    		t.Errorf("unexpected ready state %v", ready.check())
    	}
    	// can not set to true if is stopped
    	ready.set(true)
    	if ready.check() {
    		t.Errorf("unexpected ready state %v", ready.check())
    	}
    	err := ready.wait(context.Background())
    	if err == nil {
    		t.Errorf("expected error waiting on a stopped state")
    	}
    }
    
    func Test_newReadyCancelPending(t *testing.T) {
    	errCh := make(chan error, 10)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 16 13:32:11 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  3. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/actor/internal/DefaultActorFactorySpec.groovy

            given:
            actor.stop()
    
            when:
            proxy.doStuff('param')
    
            then:
            IllegalStateException e = thrown()
            e.message == 'This actor has been stopped.'
        }
    
        def cannotDispatchToNonBlockingActorAfterItHasBeenStopped() {
            def actor = factory.createActor(target)
            def proxy = actor.getProxy(TargetObject.class)
    
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  4. src/internal/fuzz/worker_test.go

    		i += resp.Count
    	}
    }
    
    // newWorkerForTest creates and starts a worker process for testing or
    // benchmarking. The worker process calls RunFuzzWorker, which responds to
    // RPC messages until it's stopped. The process is stopped and cleaned up
    // automatically when the test is done.
    func newWorkerForTest(tb testing.TB) *worker {
    	tb.Helper()
    	c, err := newCoordinator(CoordinateFuzzingOpts{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  5. testing/smoke-test/src/smokeTest/groovy/org/gradle/play/integtest/external/PlayExternalContinuousBuildIntegrationTest.groovy

            file("app/controllers/Application.scala").text = original
    
            then:
            buildTriggeredAndSucceeded()
    
            and:
            appIsRunningAndDeployed()
        }
    
        def "play application is stopped when build is cancelled" () {
            when:
            succeeds("runPlay")
    
            then:
            appIsRunningAndDeployed()
    
            when:
            gradle.cancel()
    
            then:
            cancelsAndExits()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/queue/EndPointQueue.java

                    }
                }
            }
            drainTo.addAll(queue);
            queue.clear();
        }
    
        public void stop() {
            owner.stopped(this);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  7. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/JavaCompileDaemonCancellationIntegrationTest.groovy

            }
    
            settingsFile << """
                include '${ANNOTATION_PROCESSOR_PROJECT_NAME}'
            """
            writeAnnotationProcessorProject()
        }
    
        def "compiler daemon is stopped when build is cancelled"() {
            given:
            buildFile << """
                plugins {
                    id 'java'
                }
                ${dependsOnPidCapturingAnnotationProcessor}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 19:57:50 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/api/services/internal/RegisteredBuildServiceProvider.java

        }
    
        /**
         * Registers a callback to be called just before the service represented by this provider is stopped.
         * The callback runs even if the service wasn't created.
         * This provider is used as a callback argument.
         * <p>
         * The service will only be stopped after completing all registered callbacks.
         *
         * @param stopAction the callback
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 09:24:00 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/tasks/StopActionException.java

    /**
     * <p>A <code>StopActionException</code> is be thrown by a task {@link org.gradle.api.Action} or task action closure to
     * stop its own execution and to start execution of the task's next action. An action can usually be stopped by just
     * calling return inside the action closure. But if the action works with helper methods that can lead to redundant
     * code. For example:</p>
     *
     * <pre>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 02 16:56:13 UTC 2016
    - 1.6K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/protocol/InternalParameterAcceptingConnection.java

         * @throws InternalBuildCancelledException When the operation was cancelled before it could complete.
         * @throws IllegalStateException When this connection has been stopped.
         * @since 4.4
         */
        <T> BuildResult<T> run(InternalBuildActionVersion2<T> action,
                               InternalCancellationToken cancellationToken,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.5K bytes
    - Viewed (0)
Back to top