Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 205 for isShutdown (0.16 sec)

  1. platforms/core-runtime/logging/src/integTest/resources/org/gradle/internal/logging/LoggingIntegrationTest/multiThreaded/build.gradle

                        textOut.style(UserInput).text(iteration).style(Normal)
                        textOut.println()
                    }
                }
            }
    
            executor.shutdown()
            executor.awaitTermination(30, TimeUnit.SECONDS)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/connection/ShutdownAwareConsumerConnection.java

            super(delegate, modelMapping, adapter);
        }
    
        @Override
        public void stop() {
            ((StoppableConnection) getDelegate()).shutdown(new ShutdownParameters() { });
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/DispatcherCleanupTest.kt

            ) {
              response.close()
            }
          }
        repeat(10_000) {
          okhttp.newCall(Request.Builder().url(server.url("/")).build()).enqueue(callback)
        }
        okhttp.dispatcher.executorService.shutdown()
      }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/kube/controller/namespacecontroller_test.go

    	filter "istio.io/istio/pkg/kube/namespace"
    	"istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/test/util/retry"
    )
    
    func TestNamespaceController(t *testing.T) {
    	client := kube.NewFakeClient()
    	t.Cleanup(client.Shutdown)
    	watcher := keycertbundle.NewWatcher()
    	caBundle := []byte("caBundle")
    	watcher.SetAndNotify(nil, nil, caBundle)
    	meshWatcher := mesh.NewTestWatcher(&meshconfig.MeshConfig{})
    	stop := test.NewStop(t)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/connection/LazyConsumerActionExecutor.java

            builder.setCancellationToken(new DefaultCancellationTokenSource().token());
            builder.setParameters(connectionParameters);
            builder.setEntryPoint("Request daemon shutdown when idle");
    
            run(new ConsumerAction<Void>() {
                @Override
                public ConsumerOperationParameters getParameters() {
                    return builder.build();
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  6. platforms/core-runtime/client-services/src/main/java/org/gradle/internal/daemon/client/clientinput/DaemonClientInputForwarder.java

            GlobalUserInputReceiver userInput
        ) {
            this.userInput = userInput;
            // Use a single reader thread, and make it a daemon thread so that it does not block process shutdown
            // In most cases, we try to cleanly shut down all threads. However, in this case it is difficult to disconnect a thread blocked trying to read from the
            // process' stdin, so use a daemon thread instead.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:53:31 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. samples/guide/src/main/java/okhttp3/recipes/kt/DevServer.kt

          client.newCall(request).execute().use { response ->
            if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
            println(response.request.url)
          }
        } finally {
          server.shutdown()
        }
      }
    }
    
    fun main() {
      DevServer().run()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

        assertTrue(future.isDone());
    
        assertTrue(successLatch.await(200, MILLISECONDS));
        assertTrue(listenerLatch.await(200, MILLISECONDS));
    
        latch.countDown();
    
        exec.shutdown();
        exec.awaitTermination(100, MILLISECONDS);
      }
    
      /**
       * Tests that all listeners complete, even if they were added before or after the future was
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 18:30:30 UTC 2023
    - 6K bytes
    - Viewed (0)
  9. cmd/kube-scheduler/app/testing/testserver.go

    	var errCh chan error
    	tearDown := func() {
    		cancel()
    
    		// If the scheduler was started, let's wait for it to
    		// shutdown clearly.
    		if errCh != nil {
    			err, ok := <-errCh
    			if ok && err != nil {
    				logger.Error(err, "Failed to shutdown test server clearly")
    			}
    		}
    		if len(result.TmpDir) != 0 {
    			os.RemoveAll(result.TmpDir)
    		}
    		configz.Delete("componentconfig")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 10:35:59 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHook.java

                method.invoke(null, (Object[]) null);
            } catch (final ClassNotFoundException e) {
                // ignore
            } catch (final Exception e) {
                logger.warn("Could not shutdown Commons HttpClient.", e);
            }
        }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top