Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for SetFuture (0.42 sec)

  1. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

            if (task instanceof SetFuture) {
              SetFuture<?> setFuture = (SetFuture<?>) task;
              // We unwind setFuture specifically to avoid StackOverflowErrors in the case of long
              // chains of SetFutures
              // Handling this special case is important because there is no way to pass an executor to
              // setFuture, so a user couldn't break the chain by doing this themselves.  It is also
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Futures.java

        @Override
        public void run() {
          // This prevents cancellation from propagating because we don't call setFuture(delegate) until
          // delegate is already done, so calling cancel() on this future won't affect it.
          ListenableFuture<V> localDelegate = delegate;
          if (localDelegate != null) {
            setFuture(localDelegate);
          }
        }
    
        @Override
        @CheckForNull
    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)
  3. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        assertThat(futureResult.toString())
            .matches(
                "CombinedFuture@\\w+\\[status=PENDING,"
                    + " setFuture=\\[SettableFuture@\\w+\\[status=PENDING]]]");
    
        // Future complete
        resultOfCombiner.set(createCombinedResult(getDone(futureInteger), getDone(futureBoolean)));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        assertThat(futureResult.toString())
            .matches(
                "CombinedFuture@\\w+\\[status=PENDING,"
                    + " setFuture=\\[SettableFuture@\\w+\\[status=PENDING]]]");
    
        // Future complete
        resultOfCombiner.set(createCombinedResult(getDone(futureInteger), getDone(futureBoolean)));
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
Back to top