- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for pendingToString (0.27 sec)
-
android/guava/src/com/google/common/util/concurrent/TrustedListenableFutureTask.java
} } this.task = null; } @Override @CheckForNull protected String pendingToString() { InterruptibleTask<?> localTask = task; if (localTask != null) { return "task=[" + localTask + "]"; } return super.pendingToString(); } @WeakOuter private final class TrustedFutureInterruptibleTask extends InterruptibleTask<V> {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Oct 01 17:18:04 GMT 2021 - 5.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractCatchingFuture.java
} setResult(fallbackResult); } @Override @CheckForNull protected String pendingToString() { ListenableFuture<? extends V> localInputFuture = inputFuture; Class<X> localExceptionType = exceptionType; F localFallback = fallback; String superString = super.pendingToString(); String resultString = ""; if (localInputFuture != null) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 01 21:46:34 GMT 2024 - 8.7K bytes - Viewed (0) -
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.
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) -
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(
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 46.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/CombinedFuture.java
* InterruptibleTask itself so that its other subclasses also benefit. (Handling `callable` in * InterruptibleTask itself might also eliminate some of the existing boilerplate for, e.g., * pendingToString().) */ CombinedFuture.this.task = null; setValue(result); } @Override final void afterRanInterruptiblyFailure(Throwable error) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 01 21:46:34 GMT 2024 - 6.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java
this.inputFuture = null; this.function = null; } @Override @CheckForNull protected String pendingToString() { ListenableFuture<? extends I> localInputFuture = inputFuture; F localFunction = function; String superString = super.pendingToString(); String resultString = ""; if (localInputFuture != null) { resultString = "inputFuture=[" + localInputFuture + "], "; }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 01 21:46:34 GMT 2024 - 10.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFuture.java
* again if some outstanding input fails. */ } @Override @CheckForNull protected final String pendingToString() { ImmutableCollection<? extends Future<?>> localFutures = futures; if (localFutures != null) { return "futures=" + localFutures; } return super.pendingToString(); } /** * Must be called at the end of each subclass's constructor. This method performs the "real"
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 01 21:46:34 GMT 2024 - 15.4K bytes - Viewed (0) -
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() { ListenableFuture<? extends V> localInputFuture = delegateRef; ScheduledFuture<?> localTimer = timer; if (localInputFuture != null) { String message = "inputFuture=[" + localInputFuture + "]";
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 01 21:46:34 GMT 2024 - 7.7K bytes - Viewed (0) -
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(
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 46.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
ListenableFuture<V> localDelegate = delegate; if (localDelegate != null) { setFuture(localDelegate); } } @Override @CheckForNull protected String pendingToString() { ListenableFuture<V> localDelegate = delegate; if (localDelegate != null) { return "delegate=[" + localDelegate + "]"; } return null; } @Override
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)