- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 349 for Stopping (0.12 sec)
-
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) -
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) -
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) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java
assertFalse(service.startUpCalled); service.startAsync().awaitRunning(); assertTrue(service.startUpCalled); assertEquals(Service.State.RUNNING, service.state()); enterRun.await(); // to avoid stopping the service until run() is invoked service.stopAsync().awaitTerminated(); assertTrue(service.shutDownCalled); assertEquals(Service.State.TERMINATED, service.state()); executionThread.join(); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 12.7K bytes - Viewed (0) -
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) -
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) -
platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/impl/DefaultFileWatcherRegistry.java
private volatile MutableFileWatchingStatistics fileWatchingStatistics = new MutableFileWatchingStatistics(); private volatile boolean consumeEvents = true; private volatile boolean stopping = false; public DefaultFileWatcherRegistry( AbstractNativeFileEventFunctions<?> fileEventFunctions, FileWatcher watcher, ChangeHandler handler, FileWatcherUpdater fileWatcherUpdater,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 25 15:08:33 UTC 2024 - 11.2K bytes - Viewed (0) -
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) -
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) -
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)