Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 213 for pause (0.16 sec)

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

                      }
                    }),
                executor);
    
        // Pause in step 2.
        step2Waiter.awaitStarted();
    
        // Everything should still be open.
        assertStillOpen(closeable1, closeable2, closeable3, closeable4);
    
        // Cancel step 3, resume step 2, and pause in step 4.
        assertWithMessage("step3.cancel()").that(step3.cancel(false)).isTrue();
        step2Waiter.awaitReturned();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 74.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    herself, as well as she could for sneezing.
    
      There was certainly too much of it in the air.  Even the
    Duchess sneezed occasionally; and as for the baby, it was
    sneezing and howling alternately without a moment's pause.  The
    only things in the kitchen that did not sneeze, were the cook,
    and a large cat which was sitting on the hearth and grinning from
    ear to ear.
    
      `Please would you tell me,' said Alice, a little timidly, for
    Plain Text
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ExecutionError.java

       */
      public ExecutionError(@CheckForNull String message, @CheckForNull Error cause) {
        super(message, cause);
      }
    
      /**
       * Creates a new instance with {@code null} as its detail message and the given cause. Prefer to
       * provide a non-nullable {@code cause}, as many users expect to find one.
       */
      public ExecutionError(@CheckForNull Error cause) {
        super(cause);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 17:52:19 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/RemovalNotification.java

        return new RemovalNotification<>(key, value, cause);
      }
    
      private RemovalNotification(@CheckForNull K key, @CheckForNull V value, RemovalCause cause) {
        super(key, value);
        this.cause = checkNotNull(cause);
      }
    
      /** Returns the cause for which the entry was removed. */
      public RemovalCause getCause() {
        return cause;
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Feb 01 20:46:24 GMT 2022
    - 2.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/VerifyException.java

       * Constructs a {@code VerifyException} with the cause {@code cause} and a message that is {@code
       * null} if {@code cause} is null, and {@code cause.toString()} otherwise.
       *
       * @since 19.0
       */
      public VerifyException(@CheckForNull Throwable cause) {
        super(cause);
      }
    
      /**
       * Constructs a {@code VerifyException} with the message {@code message} and the cause {@code
       * cause}.
       *
       * @since 19.0
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon May 17 14:07:47 GMT 2021
    - 1.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/VerifyException.java

       * Constructs a {@code VerifyException} with the cause {@code cause} and a message that is {@code
       * null} if {@code cause} is null, and {@code cause.toString()} otherwise.
       *
       * @since 19.0
       */
      public VerifyException(@CheckForNull Throwable cause) {
        super(cause);
      }
    
      /**
       * Constructs a {@code VerifyException} with the message {@code message} and the cause {@code
       * cause}.
       *
       * @since 19.0
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon May 17 14:07:47 GMT 2021
    - 1.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractService.java

       */
      protected final void notifyFailed(Throwable cause) {
        checkNotNull(cause);
    
        monitor.enter();
        try {
          State previous = state();
          switch (previous) {
            case NEW:
            case TERMINATED:
              throw new IllegalStateException("Failed while in state:" + previous, cause);
            case RUNNING:
            case STARTING:
            case STOPPING:
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 18:32:03 GMT 2023
    - 20.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/Futures.java

       *
       * <ul>
       *   <li>Any {@link ExecutionException} has its <i>cause</i> wrapped in an {@code X} if the cause
       *       is a checked exception, an {@link UncheckedExecutionException} if the cause is a {@code
       *       RuntimeException}, or an {@link ExecutionError} if the cause is an {@code Error}.
       *   <li>Any {@link InterruptedException} is wrapped in an {@code X} (after restoring the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/NullPointerTester.java

        NPE_IAE_OR_UOE() {
          @Override
          public boolean isExpectedType(Throwable cause) {
            return cause instanceof NullPointerException
                || cause instanceof IllegalArgumentException
                || cause instanceof UnsupportedOperationException;
          }
        };
    
        public abstract boolean isExpectedType(Throwable cause);
      }
    
      private static boolean annotatedTypeExists() {
        try {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 23.3K bytes
    - Viewed (0)
  10. futures/failureaccess/src/com/google/common/util/concurrent/internal/InternalFutureFailureAccess.java

     * the License.
     */
    
    package com.google.common.util.concurrent.internal;
    
    
    /**
     * A future that, if it fails, may <i>optionally</i> provide access to the cause of the failure.
     *
     * <p>This class is used only for micro-optimization. Standard {@code Future} utilities benefit from
     * this optimization, so there is no need to specialize methods to return or accept this type
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 2.3K bytes
    - Viewed (0)
Back to top