Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ImmediateFailedFuture (0.08 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

    import static com.google.common.cache.TestingRemovalListeners.countingRemovalListener;
    import static com.google.common.truth.Truth.assertThat;
    import static com.google.common.util.concurrent.Futures.immediateFailedFuture;
    import static com.google.common.util.concurrent.Futures.immediateFuture;
    import static java.util.Arrays.asList;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Futures.java

       * Throwable} wrapped in an {@code ExecutionException}.
       */
      public static <V extends @Nullable Object> ListenableFuture<V> immediateFailedFuture(
          Throwable throwable) {
        checkNotNull(throwable);
        return new ImmediateFailedFuture<>(throwable);
      }
    
      /**
       * Creates a {@code ListenableFuture} which is cancelled immediately upon construction, so that
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/Futures.java

       * Throwable} wrapped in an {@code ExecutionException}.
       */
      public static <V extends @Nullable Object> ListenableFuture<V> immediateFailedFuture(
          Throwable throwable) {
        checkNotNull(throwable);
        return new ImmediateFailedFuture<>(throwable);
      }
    
      /**
       * Creates a {@code ListenableFuture} which is cancelled immediately upon construction, so that
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.4K bytes
    - Viewed (0)
Back to top