Package graphql.execution
Class Async.Many<T>
- java.lang.Object
-
- graphql.execution.Async.Many<T>
-
- All Implemented Interfaces:
Async.CombinedBuilder<T>
- Enclosing class:
- Async
private static class Async.Many<T> extends java.lang.Object implements Async.CombinedBuilder<T>
-
-
Constructor Summary
Constructors Modifier Constructor Description private
Many(int size)
-
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
-
array
private final java.util.concurrent.CompletableFuture<T>[] array
-
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>
-
-