MCPcopy Index your code
hub / github.com/OpenTSDB/async / groupInOrder

Method groupInOrder

src/Deferred.java:908–911  ·  view source on GitHub ↗

Groups multiple Deferreds together in a single one. This is the same thing as #group(Collection) except that we guarantee we preserve the order of the Deferreds. @param deferreds All the Deferreds to group together. @return A new Deferred that will be call

(final Collection<Deferred<T>> deferreds)

Source from the content-addressed store, hash-verified

906 * @since 1.4
907 */
908 public static <T>
909 Deferred<ArrayList<T>> groupInOrder(final Collection<Deferred<T>> deferreds) {
910 return new DeferredGroup<T>(deferreds, true).getDeferred();
911 }
912
913 /**
914 * Groups two {@code Deferred}s together in a single one.

Callers

nothing calls this directly

Calls 1

getDeferredMethod · 0.80

Tested by

no test coverage detected