Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for awaitUnchecked (0.28 sec)

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

              @Override
              public @Nullable Void call() {
                if (currentFuture.get().set("set")) {
                  numSuccessfulSetCalls.incrementAndGet();
                }
                awaitUnchecked(barrier);
                return null;
              }
            };
        Callable<@Nullable Void> completeExceptionallyRunnable =
            new Callable<@Nullable Void>() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

          Runnable wrapper =
              new Runnable() {
                @Override
                public void run() {
                  awaitUnchecked(barrier);
                  task.run();
                  awaitUnchecked(barrier);
                }
              };
          for (int j = 0; j < 10; j++) {
            executor.execute(wrapper);
          }
          barrier.await(); // release the threads!
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top