Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for inputFutures (0.12 sec)

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

      protected SettableFuture<Integer> inputFuture;
      protected ListenableFuture<T> resultFuture;
      protected MockFutureListener listener;
    
      @Override
      protected void setUp() throws Exception {
        super.setUp();
    
        inputFuture = SettableFuture.create();
        resultFuture = buildChainingFuture(inputFuture);
        listener = new MockFutureListener(resultFuture);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

      @Override
      protected ListenableFuture<String> buildChainingFuture(ListenableFuture<Integer> inputFuture) {
        outputFuture = SettableFuture.create();
        funcIsWaitingLatch = new CountDownLatch(1);
        funcCompletionLatch = new CountDownLatch(1);
        return transformAsync(inputFuture, new ChainingFunction(), directExecutor());
      }
    
      @Override
      protected String getSuccessfulResult() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

      @Override
      protected ListenableFuture<String> buildChainingFuture(ListenableFuture<Integer> inputFuture) {
        outputFuture = SettableFuture.create();
        funcIsWaitingLatch = new CountDownLatch(1);
        funcCompletionLatch = new CountDownLatch(1);
        return transformAsync(inputFuture, new ChainingFunction(), directExecutor());
      }
    
      @Override
      protected String getSuccessfulResult() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractCatchingFuture.java

       */
      @CheckForNull @LazyInit ListenableFuture<? extends V> inputFuture;
      @CheckForNull @LazyInit Class<X> exceptionType;
      @CheckForNull @LazyInit F fallback;
    
      AbstractCatchingFuture(
          ListenableFuture<? extends V> inputFuture, Class<X> exceptionType, F fallback) {
        this.inputFuture = checkNotNull(inputFuture);
        this.exceptionType = checkNotNull(exceptionType);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/FuturesTransformTest.java

          new UndeclaredThrowableException(EXCEPTION);
    
      @Override
      protected ListenableFuture<String> buildChainingFuture(ListenableFuture<Integer> inputFuture) {
        return transform(inputFuture, new ComposeFunction(), directExecutor());
      }
    
      @Override
      protected String getSuccessfulResult() {
        return RESULT_DATA;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 28 16:27:15 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

        @RetainedLocalRef ListenableFuture<? extends V> localInputFuture = delegateRef;
        @RetainedLocalRef ScheduledFuture<?> localTimer = timer;
        if (localInputFuture != null) {
          String message = "inputFuture=[" + localInputFuture + "]";
          if (localTimer != null) {
            long delay = localTimer.getDelay(MILLISECONDS);
            // Negative delays look confusing in an error message
            if (delay > 0) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top