- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for catchingAsync (0.09 sec)
-
android/guava/src/com/google/common/util/concurrent/Futures.java
* * // Falling back to a zero counter in case an exception happens when * // processing the RPC to fetch counters. * ListenableFuture<Integer> faultTolerantFuture = Futures.catchingAsync( * fetchCounterFuture, FetchException.class, x -> immediateFuture(0), directExecutor()); * } * * <p>The fallback can also choose to propagate the original exception when desired: *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 64.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
} public void testCatchingAsync_preventsFurtherOperations() { ClosingFuture<String> closingFuture = ClosingFuture.from(immediateFuture("value1")); ClosingFuture<String> unused = closingFuture.catchingAsync( Exception.class, withoutCloser( new AsyncFunction<Exception, String>() { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 75.4K bytes - Viewed (0)