Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 119 for Stopping (0.14 sec)

  1. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/locklistener/DefaultFileLockContentionHandlerTest.groovy

            1 * lockRequestListener.stop()
            1 * releaseLockActionExecutor.stop()
        }
    
        def "stopping is safe even if the handler was not initialized"() {
            when:
            handler.stop()
    
            then:
            noExceptionThrown()
        }
    
        def "stopping is safe even if the executor was not initialized"() {
            handler.reservePort()
    
            when:
            handler.stop()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:49 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. pkg/test/framework/components/echo/util/traffic/generator.go

    	Options echo.CallOptions
    
    	// Interval between successive call operations. If not set, defaults to 1 second.
    	Interval time.Duration
    
    	// Maximum time to wait for traffic to complete after stopping. If not set, defaults to 15 seconds.
    	StopTimeout time.Duration
    }
    
    // Generator of traffic between echo instances. Every time interval
    // (as defined by Config.Interval), a grpc request is sent to the source pod,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 12 22:50:35 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

        assertEquals(1, service.shutDownCalled);
        assertEquals(Service.State.TERMINATED, service.state());
        assertThat(service.transitionStates)
            .containsExactly(Service.State.STARTING, Service.State.STOPPING)
            .inOrder();
      }
    
      public void testStop_failed() {
        final Exception exception = new Exception("deliberate");
        TestService service =
            new TestService() {
              @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

       * blocks, it can prevent this service from changing state. If you need to performing a blocking
       * operation in order to trigger shutdown, consider instead registering a listener and
       * implementing {@code stopping}. Note, however, that {@code stopping} does not run at exactly the
       * same times as {@code triggerShutdown}.
       */
      protected void triggerShutdown() {}
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 13 19:45:20 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/watch/watch.go

    func (pw *ProxyWatcher) Stop() {
    	pw.mutex.Lock()
    	defer pw.mutex.Unlock()
    	if !pw.stopped {
    		pw.stopped = true
    		close(pw.stopCh)
    	}
    }
    
    // Stopping returns true if Stop() has been called
    func (pw *ProxyWatcher) Stopping() bool {
    	pw.mutex.Lock()
    	defer pw.mutex.Unlock()
    	return pw.stopped
    }
    
    // ResultChan implements Interface
    func (pw *ProxyWatcher) ResultChan() <-chan Event {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 20:06:22 UTC 2024
    - 8.1K bytes
    - Viewed (1)
  6. src/internal/trace/testdata/testprog/many-start-stop.go

    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Tests simply starting and stopping tracing multiple times.
    //
    // This is useful for finding bugs in trace state reset.
    
    //go:build ignore
    
    package main
    
    import (
    	"bytes"
    	"log"
    	"os"
    	"runtime"
    	"runtime/trace"
    )
    
    func main() {
    	// Trace a few times.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 786 bytes
    - Viewed (0)
  7. build.gradle.kts

        id("gradlebuild.generate-subprojects-info")  // CI: Generate subprojects information for the CI testing pipeline fan out
        id("gradlebuild.cleanup")                    // CI: Advanced cleanup after the build (like stopping daemons started by tests)
    
        id("gradlebuild.update-versions")            // Local development: Convenience tasks to update versions in this build: 'released-versions.json', 'agp-versions.properties', ...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 11:54:19 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/api/DaemonStateControl.java

         */
        void requestStop(String reason);
    
        /**
         * Requests a forceful stops of the daemon. Does not wait until the daemon is idle to begin stopping. The stop will happen asynchronously, and this method does not block.
         *
         * <p>If any long running command is currently running, the blocked call to {@link #runCommand} will fail with {@link DaemonStoppedException}.</p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:24:02 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. cluster/images/etcd/migrate/migrate_server.go

    	"os/exec"
    	"strings"
    	"time"
    
    	"k8s.io/klog/v2"
    )
    
    // EtcdMigrateServer manages starting and stopping a versioned etcd server binary.
    type EtcdMigrateServer struct {
    	cfg    *EtcdMigrateCfg
    	client EtcdMigrateClient
    	cmd    *exec.Cmd
    }
    
    // NewEtcdMigrateServer creates a EtcdMigrateServer for starting and stopping a etcd server at the given version.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 30 16:29:59 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  10. 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)
Back to top