- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for transformAsync (0.07 sec)
-
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
* queryFuture.transformAsync((closer, result) -> result.getRowsClosingFuture(), executor); * * // Result.writeRowsToOutputStreamFuture() returns a ListenableFuture that resolves to the * // number of written rows. openOutputFile() returns a FileOutputStream (which implements * // Closeable). * ClosingFuture<Integer> rowsFuture2 = * queryFuture.transformAsync( * (closer, result) -> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 08 19:36:35 UTC 2024 - 98.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java
package com.google.common.util.concurrent; import static com.google.common.truth.Truth.assertThat; import static com.google.common.util.concurrent.Futures.immediateFuture; import static com.google.common.util.concurrent.Futures.transformAsync; import static com.google.common.util.concurrent.MoreExecutors.directExecutor; import static com.google.common.util.concurrent.Uninterruptibles.awaitUninterruptibly; import static org.junit.Assert.assertThrows;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 6.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java
package com.google.common.util.concurrent; import static com.google.common.truth.Truth.assertThat; import static com.google.common.util.concurrent.Futures.immediateFuture; import static com.google.common.util.concurrent.Futures.transformAsync; import static com.google.common.util.concurrent.MoreExecutors.directExecutor; import static com.google.common.util.concurrent.Uninterruptibles.awaitUninterruptibly; import static org.junit.Assert.assertThrows;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 6.2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/FluentFuture.java
* input's failure (if not) */ public final <T extends @Nullable Object> FluentFuture<T> transformAsync( AsyncFunction<? super V, T> function, Executor executor) { return (FluentFuture<T>) Futures.transformAsync(this, function, executor); } /** * Returns a new {@code Future} whose result is derived from the result of this {@code Future}. If
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:51:36 UTC 2024 - 19.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
* Example usage: * * <pre>{@code * ListenableFuture<RowKey> rowKeyFuture = indexService.lookUp(query); * ListenableFuture<QueryResult> queryFuture = * transformAsync(rowKeyFuture, dataService::readFuture, executor); * }</pre> * * <p>When selecting an executor, note that {@code directExecutor} is dangerous in some cases. See
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 13:13:32 UTC 2024 - 64.7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Futures.java
* Example usage: * * <pre>{@code * ListenableFuture<RowKey> rowKeyFuture = indexService.lookUp(query); * ListenableFuture<QueryResult> queryFuture = * transformAsync(rowKeyFuture, dataService::readFuture, executor); * }</pre> * * <p>When selecting an executor, note that {@code directExecutor} is dangerous in some cases. See
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 13:13:32 UTC 2024 - 64.4K bytes - Viewed (0)