Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for chan (0.21 sec)

  1. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java

          @Override
          boolean isCancelled() {
            return true;
          }
    
          @Override
          void maybeThrowOnGet(@Nullable Throwable cause) throws ExecutionException {
            // TODO(cpovirk): chain in a CancellationException created at the cancel() call?
            throw new CancellationException();
          }
        };
    
        boolean isDone() {
          return true;
        }
    
        boolean isCancelled() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 19:37:41 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

                  // 1. for long chains of futures strung together with setFuture we consume less stack
                  // 2. we avoid allocating Cancellation objects at every level of the cancellation
                  //    chain
                  // We can only do this for TrustedFuture, because TrustedFuture.cancel is final and
                  // does nothing but delegate to this method.
                  AbstractFuture<?> trusted = (AbstractFuture<?>) futureToPropagateTo;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
Back to top