Package graphql.execution
Class Async.Single<T>
- java.lang.Object
-
- graphql.execution.Async.Single<T>
-
- All Implemented Interfaces:
Async.CombinedBuilder<T>
- Enclosing class:
- Async
private static class Async.Single<T> extends java.lang.Object implements Async.CombinedBuilder<T>
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.concurrent.CompletableFuture<T>
completableFuture
private int
ix
-
Constructor Summary
Constructors Modifier Constructor Description private
Single()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(java.util.concurrent.CompletableFuture<T> completableFuture)
java.util.concurrent.CompletableFuture<java.util.List<T>>
await()
-
-
-
Field Detail
-
completableFuture
private java.util.concurrent.CompletableFuture<T> completableFuture
-
ix
private int ix
-
-
Method Detail
-
add
public void add(java.util.concurrent.CompletableFuture<T> completableFuture)
- Specified by:
add
in interfaceAsync.CombinedBuilder<T>
-
await
public java.util.concurrent.CompletableFuture<java.util.List<T>> await()
- Specified by:
await
in interfaceAsync.CombinedBuilder<T>
-
-