Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 231 for shutdown (0.08 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

        serializer = ExecutionSequencer.create();
        firstFuture = SettableFuture.create();
        firstCallable = new TestCallable(firstFuture);
      }
    
      @Override
      public void tearDown() throws Exception {
        executor.shutdown();
      }
    
      public void testCallableStartsAfterFirstFutureCompletes() {
        @SuppressWarnings({"unused", "nullness"})
        Future<?> possiblyIgnoredError = serializer.submitAsync(firstCallable, directExecutor());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/SocketPolicy.kt

      object FailHandshake : SocketPolicy
    
      /**
       * Shutdown the socket input after sending the response. For testing bad behavior.
       *
       * See [SocketPolicy] for reasons why this can cause test flakiness and how to avoid it.
       */
      object ShutdownInputAtEnd : SocketPolicy
    
      /**
       * Shutdown the socket output after sending the response. For testing bad behavior.
       *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. docs/de/docs/advanced/testing-events.md

    # Events testen: Hochfahren – Herunterfahren
    
    Wenn Sie in Ihren Tests Ihre Event-Handler (`startup` und `shutdown`) ausführen wollen, können Sie den `TestClient` mit einer `with`-Anweisung verwenden:
    
    ```Python hl_lines="9-12  20-24"
    {!../../docs_src/app_testing/tutorial003.py!}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 288 bytes
    - Viewed (0)
  4. docs/pt/docs/advanced/testing-events.md

    # Testando Eventos: inicialização - encerramento
    
    Quando você precisa que os seus manipuladores de eventos (`startup` e `shutdown`) sejam executados em seus testes, você pode utilizar o `TestClient` usando a instrução `with`:
    
    ```Python hl_lines="9-12  20-24"
    {!../../docs_src/app_testing/tutorial003.py!}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 316 bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/AbstractService.java

       */
      @ForOverride
      protected abstract void doStart();
    
      /**
       * This method should be used to initiate service shutdown. The invocation of this method should
       * cause a call to {@link #notifyStopped()}, either during this method's run, or after it has
       * returned. If shutdown fails, the invocation should cause a call to {@link
       * #notifyFailed(Throwable)} instead.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 20.7K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

        ignoreIoExceptions {
          socket.close()
        }
    
        // Release the threads.
        writerQueue.shutdown()
        pushQueue.shutdown()
        settingsListenerQueue.shutdown()
      }
    
      private fun failConnection(e: IOException?) {
        close(ErrorCode.PROTOCOL_ERROR, ErrorCode.PROTOCOL_ERROR, e)
      }
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/job/JobExecutor.java

        public abstract Object execute(String scriptType, String script);
    
        public void shutdown() {
            shutdownListener.onShutdown();
        }
    
        public void addShutdownListener(final ShutdownListener listener) {
            shutdownListener = listener;
        }
    
        public interface ShutdownListener {
            void onShutdown();
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/resident/DefaultResidentMavenInvoker.java

            }
    
            @Override
            public void close() throws InvokerException {
                // we are resident, we do not shut down here
            }
    
            public void shutDown() throws InvokerException {
                super.close();
            }
    
            public LocalContext copy(MavenInvokerRequest<MavenOptions> invokerRequest) {
                if (invokerRequest == this.invokerRequest) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. cmd/erasure-object_test.go

    	var disks []string
    	var err error
    	var opts ObjectOptions
    
    	objLayer, disks, err = prepareErasure16(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// cleaning up of temporary test directories
    	defer objLayer.Shutdown(context.Background())
    	defer removeRoots(disks)
    
    	err = objLayer.MakeBucket(ctx, "bucket1", MakeBucketOptions{})
    	if err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java

      private final ListeningExecutorService delegate = newDirectExecutorService();
    
      @Override
      public void shutdown() {
        delegate.shutdown();
      }
    
      @Override
      public List<Runnable> shutdownNow() {
        return delegate.shutdownNow();
      }
    
      @Override
      public boolean isShutdown() {
        return delegate.isShutdown();
      }
    
      @Override
      public boolean isTerminated() {
        return delegate.isTerminated();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top