Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for pendingToString (0.15 sec)

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

        if (isCancelled()) {
          builder.append("CANCELLED");
        } else if (isDone()) {
          addDoneString(builder);
        } else {
          String pendingDescription;
          try {
            pendingDescription = pendingToString();
          } catch (RuntimeException e) {
            // Don't call getMessage or toString() on the exception, in case the exception thrown by the
            // subclass is implemented with bugs similar to the subclass.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 19:37:41 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

        this.inputFuture = null;
        this.function = null;
      }
    
      @Override
      @CheckForNull
      protected String pendingToString() {
        @RetainedLocalRef ListenableFuture<? extends I> localInputFuture = inputFuture;
        @RetainedLocalRef F localFunction = function;
        String superString = super.pendingToString();
        String resultString = "";
        if (localInputFuture != null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractCatchingFuture.java

      }
    
      @Override
      @CheckForNull
      protected String pendingToString() {
        @RetainedLocalRef ListenableFuture<? extends V> localInputFuture = inputFuture;
        @RetainedLocalRef Class<X> localExceptionType = exceptionType;
        @RetainedLocalRef F localFallback = fallback;
        String superString = super.pendingToString();
        String resultString = "";
        if (localInputFuture != null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

      }
    
      public void testToString_notDone() throws Exception {
        AbstractFuture<Object> testFuture =
            new AbstractFuture<Object>() {
              @Override
              public String pendingToString() {
                return "cause=[Because this test isn't done]";
              }
            };
        assertThat(testFuture.toString())
            .matches(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

         */
      }
    
      @Override
      @CheckForNull
      protected final String pendingToString() {
        @RetainedLocalRef ImmutableCollection<? extends Future<?>> localFutures = futures;
        if (localFutures != null) {
          return "futures=" + localFutures;
        }
        return super.pendingToString();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

          setStackTrace(new StackTraceElement[0]);
          return this; // no stack trace, wouldn't be useful anyway
        }
      }
    
      @Override
      @CheckForNull
      protected String pendingToString() {
        @RetainedLocalRef ListenableFuture<? extends V> localInputFuture = delegateRef;
        @RetainedLocalRef ScheduledFuture<?> localTimer = timer;
        if (localInputFuture != null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/Futures.java

          if (localDelegate != null) {
            setFuture(localDelegate);
          }
        }
    
        @Override
        @CheckForNull
        protected String pendingToString() {
          @RetainedLocalRef ListenableFuture<V> localDelegate = delegate;
          if (localDelegate != null) {
            return "delegate=[" + localDelegate + "]";
          }
          return null;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/MoreExecutors.java

              // Any Exception is either a RuntimeException or sneaky checked exception.
              setException(t);
              throw t;
            }
          }
    
          @Override
          protected String pendingToString() {
            return "task=[" + delegate + "]";
          }
        }
      }
    
      /*
       * This following method is a modified version of one found in
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 44.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/Futures.java

          if (localDelegate != null) {
            setFuture(localDelegate);
          }
        }
    
        @Override
        @CheckForNull
        protected String pendingToString() {
          @RetainedLocalRef ListenableFuture<V> localDelegate = delegate;
          if (localDelegate != null) {
            return "delegate=[" + localDelegate + "]";
          }
          return null;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.4K bytes
    - Viewed (0)
Back to top