Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setFuture (0.14 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)
Back to top