Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 495 for STOPPED (0.11 sec)

  1. 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)
  2. subprojects/core/src/testFixtures/groovy/org/gradle/util/internal/MultithreadedTestRule.java

            return new ThreadHandleImpl(thread);
        }
    
        private void testThreadStarted(Thread thread) {
            lock.lock();
            try {
                if (stopped) {
                    throw new IllegalStateException("Cannot start new threads, as this test case has been stopped.");
                }
                LOGGER.debug("Started {}", thread);
                active.add(thread);
                condition.signalAll();
            } finally {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 23.3K bytes
    - Viewed (0)
  3. pilot/pkg/leaderelection/k8sleaderelection/leaderelection.go

    	// used to lock the observedRecord
    	observedRecordLock sync.Mutex
    
    	metrics leaderMetricsAdapter
    }
    
    // Run starts the leader election loop. Run will not return
    // before leader election loop is stopped by ctx or it has
    // stopped holding the leader lease
    func (le *LeaderElector) Run(ctx context.Context) {
    	defer runtime.HandleCrash()
    	defer func() {
    		le.config.Callbacks.OnStoppedLeading()
    	}()
    
    	if !le.acquire(ctx) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 24 04:04:42 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/runtime/time.go

    	// timerZombie is set when the timer has been stopped
    	// but is still present in some P's heap.
    	// Only set when timerHeaped is also set.
    	// It is possible for timerModified and timerZombie to both
    	// be set, meaning that the timer was modified and then stopped.
    	// A timer sending to a channel may be placed in timerZombie
    	// to take it out of the heap even though the timer is not stopped,
    	// as long as nothing is reading from the channel.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 14:36:24 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/cacher/cache_watcher_test.go

    		return count == 2, nil
    	}); err != nil {
    		t.Fatalf("expected forget() to be called twice, first call from w.add() and then from w.Stop() called from w.processInterval(): %v", err)
    	}
    
    	if !w.stopped {
    		t.Fatal("expected the watcher to be stopped but it wasn't")
    	}
    }
    
    // TestCacheWatcherDrainingNoBookmarkAfterResourceVersionSent checks if the watcher's input
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  8. 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)
  9. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/Daemon.java

        }
    
        /**
         * Starts the daemon, receiving connections asynchronously (i.e. returns immediately).
         *
         * @throws IllegalStateException if this daemon is already running, or has already been stopped.
         */
        public void start() {
            LOGGER.info("start() called on daemon - {}", daemonContext);
            lifecycleLock.lock();
            try {
                if (stateCoordinator != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  10. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/service/scopes/ServiceScope.java

    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * Attached to a service interface to indicate in which scopes it is defined in.
     * Services are lifecycled with their scope, and stopped/closed when the scope is closed.
     * <p>
     * Services are visible to other services in the same scope and descendent scopes.
     * Services are not visible to services in ancestor scopes.
     * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top