Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-22518

Rename CompletableFutures#allOf to CompletableFutures#allOfToList

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.0.0-beta2
    • None

    Description

      As a result of reflection and internal discussions, the name of org.apache.ignite.internal.util.CompletableFutures#allOf is not entirely appropriate, because the result will not be CompletableFuture<Void> but CompletableFuture<List<T>>, which can be confusing. It is proposed to rename it to allOfToList And also add a new “sugar” method CompletableFuture<Void> allOf(List<CompletableFuture<?>> futures).

      Attachments

        Issue Links

          Activity

            People

              ktkalenko@gridgain.com Kirill Tkalenko
              ktkalenko@gridgain.com Kirill Tkalenko
              Ivan Bessonov Ivan Bessonov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m